getFilterHelper

returns the function that implements the filtering logic

function getFilterHelper();

Returns

functionthe function that implements the filtering logic

Example

var helper = $$("querybuilder1").getFilterHelper();
...
$$("$datatable1").filter(helper);

Related samples

Details

The returned "helper" function iterates through the dataset items and checks whether they correspond to the filter rules. The "helper" function returns true if the item complies with the rule and false, if it doesn't.

After you've received the helper function, you can pass it to the Webix filter method to enable filtering of data components with Query Builder.

See also
Back to top