getFilter

returns a filtering function

function getFilter(string field);

Deprecated

use instead:

Parameters

fieldstringthe ID of the field

Returns

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