$(function () { // Set sorted event handler function $(".selector").wijgrid({ sorted : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set sorted event handler function $(".selector").wijgrid({ sorted : function (e, args) { } }); });
// 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"); } });