var instance; // Type: wijmo.data.IDataView; var value; // Type: IMutableObservable value = instance.sort;
var sort : IMutableObservable;
An observable property that gets or sets the sorting to apply to the data view. When assigned, the data view refreshes.
Type: wijmo.data.IMutableObservable
Default: null
var instance; // Type: wijmo.data.IDataView; var value; // Type: IMutableObservable value = instance.sort;
var sort : IMutableObservable;
customerView.sort("firstName"); productView.sort("unitPrice desc, productName");
The IDataView interface defines the following sorting formats: