An Adaptable Event which is fired whenever the Search, Filtering or Sorting state in AdapTable changes.
It is primarily used for Server Searching and Filtering where these activities take place on the server, rather than the (default) client.
The SearchChangedInfo object includes full and comprehensive details of the state of all the search and filter related functions in Adaptable.
It also includes a
SearchChangedTrigger which describes which Module in AdapTable was responsible for the change in Search state.
|adaptableSearchState||Current searches and filters in the Grid|
|adaptableSortState||Current sort state in the Grid|
|searchChangedTrigger||What action caused event to fire: DataSource, CurrentQuery, Filter, DataChange or Sort|
|columnFilters||Currently applied Column Filters|
|dataSource||Current Data Source (if one selected)|
|queryAST||AST for Current Query|
|columnSorts||Which columns have sorting applied and,if so, which direction|
|customSorts||All the Custom Sorts in State; this is always sent even if no custom sorts are active|
Subscribing to the Event is done the same as with all Adaptable Events: