getFilter

returns a filtering function

function getFilter(string field);

Deprecated

use instead:

fieldstringthe ID of the field
functionthe filtering function

Example

var filter = pivot.getFilter("form");
var check = filter.handler(some)

Details

In addition to the "handler" property you can access any other custom properties, which were set on the filter object.

Change log

deprecated starting from version 1.2

Back to top