wijmo.grid.wijgrid Namespace > options type : sorted Event |
Javascript (Usage) | |
---|---|
$(function () { // Set sorted event handler function $(".selector").wijgrid({ sorted : function (e, args) { } }); }); |
Javascript (Specification) | |
---|---|
sorted = function ( e : Object, args : ISortedEventArgs ) { }; |
// 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"); } });