Array of search objects (submitted to data source for record filtering).
Array, default = []
When user executes a search the grid will generate the array of search objects. User can execute a search in a variety of ways:
by typing in global search field, selecting a field and typing search text, or clicking the "Search..." button and submitting a
multi-field search. Regardless of the way, the grid will generate the search array.
As a developer you can define initial searches during object creation:
Even though you created initial search, the user can clear or overwrite it. You can defined some search fields as hidden if you want
to prevent user from messing up your search, or you can add search data into
.postData
object which will get submitted to the server and will not allow user to clear it.
The structure of the search object is:
You can use
.search() method to submit searches.