Version 1
Common Interface IFilterDescriptor GrapeCity DataViewsJS Interface

IFilterDescriptor Interface

Defines type of filter descriptor.

Heirarchy

  • IFilterDescriptor

Properties

Properties

field

field: string

The field the user wants to filter by.

operator

operator: FilterOperator

Indicates the filter type, can be 'equal,', 'notEqual', 'greaterThan', 'greaterThanAndEqual', 'lessThan', 'lessThanAndEqual', 'memberOf' or 'notMemberOf'.

value

value: any

Value to compare. when using 'memberOf' or 'notMemberOf', the value can be an array (discrete set) or string (continuous set). For example, [1,2,3,4] means only left values equals to 1 or 2 or 3 or 4; '(1, 4]' means only left values larger than 1 and less than or equal to 4.