var instance; // Type: wijmo.grid.IWijgridOptions; var value; // Type: any value = instance.sorted;
var sorted : any;
The sorted event handler is a function that is called after the widget is sorted. The allowSorting option must be set to "true" to allow this event to fire.
var instance; // Type: wijmo.grid.IWijgridOptions; var value; // Type: any value = instance.sorted;
var sorted : any;
// The following code handles the sorted event and will give you access to the column and the sort direction $("#element").wijgrid({ sorted: function (e, args) { alert("Column " + args.column.headerText + " sorted in " + args.sortDirection + " order"); } });