Victor M. Perez asked 6 years ago

Is there a way to hide it, altogether?

1 Answers
Abu Ghufran answered 6 years ago

There are 2 solutions:


After JQgrid echo $out, you can put JS code like …


where list1 is grid id.


Q) How to remove buttons and text from toolbar?

Do following config to show/remove items in toolbar

$opt["rowList"] = array();
$opt["pgbuttons"] = false;
$opt["pgtext"] = null;
$opt["viewrecords"] = false;

"add"=>false, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>false, // allow/disallow delete
"view"=>false, // allow/disallow view
"refresh" => false, // show/hide refresh button
"search" => false, // show single/multi field search condition (e.g. simple or advance)

Your Answer

14 + 5 =

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 / 5. Vote count:

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

Let us improve this post!