getFilterHelper

returns the helper 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" iterates through the data items and checks them against the filter rules. The "helper" returns true if the item complies with the rule and false if it doesn't.

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

See also
Back to top