Wijmo UI for the Web
filter Field
wijmo.data Namespace > IDataView Interface : filter Field

An observable property that gets or sets the filtering to apply to the data view. When a filter is assigned, the data view refreshes.

Type: wijmo.data.IMutableObservable

Default: null

Syntax
var instance; // Type: wijmo.data.IDataView;
var value; // Type: IMutableObservable
value = instance.filter;
var filter : IMutableObservable;
Example
studentView.filter({ 
    name: "Alfred",
    age: { operator: ">", value: "10" } 
});
Remarks

The IDataView interface defines the following filter formats: 

A property based filter is a hash with a key that matches an element property. The value may be one of these:

 

See Also

Reference

IDataView Interface