how to set default operator in advance search

Questionshow to set default operator in advance search
Man Lam asked 4 years ago

how to set default operator in advance search?

1 Answers
Abu Ghufran answered 4 years ago

With each column you can define set of search operators and first one become default. e.g.

(e.g. bw = begins with, 'eq','ne','lt','le','gt','ge','bw','bn','in','ni','ew','en','cn','nc')

$col["searchoptions"]["sopt"] = array("cn","bw"); // only show contains and beginswith with first as default.
$cols[] = $col;

Your Answer

9 + 8 =

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!