var instance; // Type: wijmo.data.IShape; var value; // Type: any value = instance.sort;
var sort : any;
Default value: null
Indicates one or more field names on which to sort the data. By default, the data is sorted in ascending order. For more information about setting the sorting directions, ascending or descending, refer to ISortDescriptor.
var instance; // Type: wijmo.data.IShape; var value; // Type: any value = instance.sort;
var sort : any;
$(document).ready(function () { var productView = new wijmo.data.ArrayDataView(sourceData()); $("#demo-grid").wijgrid({ data: productView, });
$("#sortId").click(function () { productView.sort("Product_ID"); }); $("#sortPrice").click(function () { productView.sort("Unit_Price"); });