var instance; // Type: wijmo.data.IDataView; var value; // Type: IMutableObservable value = instance.filter;
var filter : IMutableObservable;
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
var instance; // Type: wijmo.data.IDataView; var value; // Type: IMutableObservable value = instance.filter;
var filter : IMutableObservable;
studentView.filter({ name: "Alfred", age: { operator: ">", value: "10" } });
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: