getFilterFunction of ui.filter, Methods Webix Docs
returns the function that checks the passed item against the filter criteria
function getFilterFunction();
| function | the function that checks the filter criteria |
Example
const filter = $$("filter-view").getFilterFunction();
// "filter-view"` is the ID of Filter
$$("data-component").filter(obj => filter(obj));
// "data-component"` is the data component that must be filtered
Related samples
See also
Articles