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