w2grid.multiSearch

Indicates if multi field search is allowed.
Boolean, default = true
If multi field search is allowed, user can search by (1) all fields typing a text in global search input control or (2) multiple fields at a time when user clicks the "Search..." button and defines what fields he wants to search on. If multi field search is turned off, user can only search one field at a time and he will not see the "Search..." button. He also will not see "All fields" in global search drop down.
This property can be defined during object creation: Or any time after the grid has been created: If you do allow multi field search, but want to hide the "Search..." button, you can do so setting .show.toolbarSearch to false. If the data source is remote all search fields will be submitted to the remote data source. See grid overview for data structures it is going to submit.

User Comments

comments powered by Disqus