onBeforeFilter
called before data are filtered
function onBeforeFilter( // the column ID id: string, // the value to be filtered by value: string, // the filter configuration config: object): voidExample
Section titled “Example”dgrid.attachEvent("onBeforeFilter", function(id, value, config){ //ignores short filter-strings during filtering if (value.length < 3) return false;})Details
Section titled “Details”The event fires only for built-in DataGrid filters. To catch the moment when view data are filtered by the API, handle the onBeforeFilter event of its Datastore.
Returning false within an event handler will prevent data filtering.
If you have several filters, the event will fire for every one of them.
See also
Section titled “See also”Articles
API