getFilter
returns the filter object that the component uses to filter the values of the specified column
object getFilter(id columnID);
Parameters
columnID | id | the id of a column |
Returns
See also
Example
columns:[
{ id:"title", header:["Film title", {content:"textFilter"}],width:200, sort:"string"},
{ id:"year", header:["Released", {content:"selectFilter"}] , width:80, sort:"int"},
]
....
//gets to the filter object of each column and retrieves its current value
var title = this.getFilter("title").value;
var year = this.getFilter("year").value;
Back to top