Hiding some buttons from toolbar

QuestionsHiding some buttons from toolbar

i want to hide edit/del/save buttons from toolbar but want to keep these buttons in row wise edit/del/save.When i try to hide edit/del/save buttons from toolbar it also hides from row wise editing options. Please Help

1 Answers
Abu Ghufran answered 11 years ago

Pasting from FAQs.

Q) How to remove toolbar buttons for add/edit dialog and enable only inline editing?

Use following config to remove toolbar buttons, while inline options remain intact. $g is jqgrid() object.
The navgrid settings override set_actions configuration for toolbar.

$g->navgrid["param"]["edit"] = false;
$g->navgrid["param"]["add"] = false;
$g->navgrid["param"]["del"] = false;

Additionally, if you wish to remove search & refresh buttons, here is the code.

$g->navgrid["param"]["search"] = false;
$g->navgrid["param"]["refresh"] = false;

Your Answer

11 + 14 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?