jQuery.wijmo.c1gridview Namespace > options type : groupText Event |
var options; // Type: jQuery.wijmo.c1gridview.options // Create a new c1gridview widget $(".selector").c1gridview(options); // Get a previously created c1gridview widget instance var widgetInstance; // Type: jQuery.wijmo.c1gridview widgetInstance = $(".selector").data("wijmo-c1gridview"); // Set groupText event handler function widgetInstance.option("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"; } } });