how to set default operator in advance search

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

how to set default operator in advance search?

1 Answers
Abu Ghufran answered 8 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

19 + 3 =

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?