searchoptions

Questionssearchoptions
Roberto asked 2 years ago

$col[“searchoptions”]=array(“value” =>NOT NULL”:IS NOT NULL;”.$str);

is possible?

 

 

 

1 Answers
Abu Ghufran Staff answered 2 years ago

By default, these operators are present in search dialog.

‘nu’=>” IS NULL ”
‘nn’=>” IS NOT NULL ”

If you only want to show ‘null’ and ‘not null’ OR limited operators you can set using:
$col[“searchoptions”][“sopt”] = array(“nn”,”nu”);

Refer docs: http://phpgrid.org/docs/column-options/#limit-column-search-operators

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

8 + 6 =

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

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?