Wijmo UI for the Web
columnGrouped Event
The jQuery.Event object.
The data with this event.
The columnGrouped event handler is a function that is called when a column has been dropped into the group area.
Syntax
Javascript (Usage) 
$(function () {
    // Set columnGrouped event handler function
    $(".selector").wijgrid({
        columnGrouped : function (e, args) {
     
        }
    });
});
Javascript (Specification) 
columnGrouped = function ( 
   e : Object,
   args : IColumnGroupedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Supply a callback function to handle the columnGrouped event:
$("#element").wijgrid({
    columnGrouped: function (e, args) {
        alert("The '" + args.drag.headerText "' column has been grouped");
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ columnGrouped: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridcolumngrouped", function (e, args) { // some code here });

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.