Wijmo UI for the Web
filterOperator Field
wijmo.grid Namespace > IC1FieldOptions Interface : filterOperator Field

An operations set for filtering. Must be either one of the embedded operators or custom filter operator. Operator names are case insensitive.

Syntax
var instance; // Type: wijmo.grid.IC1FieldOptions;
var value; // Type: any
value = instance.filterOperator;
var filterOperator : any;
Example
$("#element").wijgrid({ columns: [{ dataType: "number", filterOperator: "Equals", filterValue: 0 }]});
Remarks
Embedded filter operators include: "NoFilter": no filter. "Contains": applicable to "string" data type. "NotContain": applicable to "string" data type. "BeginsWith": applicable to "string" data type. "EndsWith": applicable to "string" data type. "Equals": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "NotEqual": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "Greater": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "Less": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "GreaterOrEqual": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "LessOrEqual": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "IsEmpty": applicable to "string". "NotIsEmpty": applicable to "string". "IsNull": applicable to "string", "number", "datetime", "currency" and "boolean" data types. "NotIsNull": applicable to "string", "number", "datetime", "currency" and "boolean" data types. Full option value is: [filterOperartor1, ..., filterOperatorN] where each filter item is an object of the following kind: { name: <operatorName>, condition: "or"|"and" } where: name: filter operator name. condition: logical condition to other operators, "or" is by default. Example: filterOperator: [ { name: "Equals" }, { name: "NotEqual", condition: "and" } ] It is possible to use shorthand notation, the following statements are equivalent: filterOperator: [ { name: "Equals" }, { name: "BeginsWith" } ] filterOperator: [ "Equals", "BeginsWith" ] In the case of a single operator option name may contain only filter operator name, the following statements are equivalent: filterOperator: [ { name: "Equals" } ] filterOperator: [ "Equals" ] filterOperator: "Equals" Note: wijgrid built-in filter editors do not support multiple filter operators.
See Also

Reference

IC1FieldOptions Interface