$(function () { // Set groupText event handler function $(".selector").wijgrid({ groupText : function (e, args) { } }); });
Parameters
- e
- The jQuery.Event object.
- args
- The data with this event.
$(function () { // Set groupText event handler function $(".selector").wijgrid({ groupText : function (e, args) { } }); });
// The following sample sets the groupText event handler to avoid empty cells. The custom formatting applied to group headers left certain cells appearing as if they were empty. This code avoids that: $("#element").wijgrid({ groupText: function (e, args) { if (!args.groupText) { args.text = "null"; } } });