Roberto asked 6 months ago

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

is possible?




1 Answers
Abu Ghufran Staff answered 6 months 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:

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

20 + 10 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!