Wijmo UI for the Web
filter Field

Type: wijmo.data.IMutableObservable

The filter to be applied to the data view. When assigned, the data view is refreshed.

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.data.IDataView;
var value; // Type: IMutableObservable
value = instance.filter;
Javascript (Specification) 
var filter : IMutableObservable;
Remarks
The following formats of a filter are defined by the IDataView interface: 1) A predicate function. In this case the filtering is always done on the client-side 2) A decomposable property-based filter or its short form described below. Can be used for server-side filtering. Property based filter is a hash where a key matches an element property and a value may be one of these: 1) An instance of FilterDescriptor interface 2) A value, so only elements with the same property values satisfy a predicate Examples: studentView.filter({ name: "Alfred", age: { operator: ">", value: "10" } });
Browser Compatibility
7
5
5

See Also

Reference

IDataView Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.