Remove search all columns

QuestionsRemove search all columns
Anthony Kam asked 2 years ago

Hi,

is there an updated way to turn off the ‘search all columns’ ?

I used the following, however, the ‘search all columns’ search box still appears on the grid toolbar:
$g->navgrid[“param”][“search”] = false;

and

$g->set_actions(array(
“add”=>false, // allow/disallow add
“edit”=>false, // allow/disallow edit
“delete”=>false, // allow/disallow delete
“rowactions”=>false, // show/hide row wise edit/del/save option
“showhidecolumns”=>false, // show/hide row wise edit/del/save option
“export”=>true, // show/hide export to excel option
“autofilter” => false, // show/hide autofilter for search
“search” => false // show single/multi field search condition (e.g. simple or advance)
)
);

$g->set_options($opt);

Thanks.

1 Answers
Abu Ghufran Staff answered 2 years ago

To disable global search on top right, You need to set:

$opt["globalsearch"] = true;
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

4 + 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?