How can I get rid of all the search by column fields and add a single search at the top that searches all columns? (with "contains" or "LIKE".)
Even better, the search defaults to all columns but has a dropdown that allows specific columns to be searched.
Thanks for your help.
Scott
Hello,
There are currently 3 ways to search.
1. autofilter
2. simple search dialog
3. advance search dialog
For now, you can hide the auto filter style search in this way.
$g->set_actions(array(
…
"autofilter" => false, // show/hide autofilter for search
"search" => "advance" // show single/multi field search condition (e.g. simple or advance)
…
)
);
Alternative option would be to use the bottom toolbar search icon. It will open field based searching any you can set it as in attached image. (any option, with all fields)
One field to search in all columns in not supported right now & I'm adding it in todos.