Hide "globalsearchtext" field in subgrids

QuestionsHide "globalsearchtext" field in subgrids
Wolfgang asked 3 years ago

Hi,

is it possible to hide the “globalsearchtext” field (upper right corner) because it does not not work in subgrids and detail fancy grids? It doesn’t work in the demo either. Or is there a fix for this problem?

1 Answers
Abu Ghufran Staff answered 3 years ago

Hello,

To hide global search option, you can set following in to be passed in set_options() function:

$opt[“globalsearch”] = false;

I’ve checked the online demos you mentioned and it was not working due to ambiguous field issue. We’ve now fixed our demos as well.

https://www.gridphp.com/demo/demos/master-detail/master-detail-fancy.php
https://www.gridphp.com/demo/demos/master-detail/subgrid.php

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

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