Caplin Trader 5.1.0

Class: module:ct-grid/FilterConstraint

module:ct-grid/FilterConstraint(oColumnFilter)

new module:ct-grid/FilterConstraint(oColumnFilter)

Constructs a FilterConstraint.

This class will construct a single filter criteria string based on the field, value and comparator in the given oColumnFilter object.

Parameters:
Name Type Description
oColumnFilter module:ct-grid/GridColumnFilter

The column filter to construct the constraint for.

Methods

getConstraintString()

Returns:

The filter criteria string for the given oColumnFilter.