$(function () { // Set sorting event handler function $(".selector").wijgrid({ sorting : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set sorting event handler function $(".selector").wijgrid({ sorting : function (e, args) { } }); });
// Preventing user from sorting the "ID" column. $("#element").wijgrid({ sorting: function (e, args) { return !(args.column.headerText === "ID"); } });