Wijmo UI for the Web
selectionChanged Event
wijmo.grid.wijgrid Namespace > options type : selectionChanged Event
The jQuery.Event object.
The data with this event.
The selectionChanged event handler is a function that is called after the selection is changed.
Syntax
$(function () {
    // Set selectionChanged event handler function
    $(".selector").wijgrid({
        selectionChanged : function (e, args) {
     
        }
    });
});
selectionChanged = function ( 
   e : Object,
   args : ISelectionChangedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args
The data with this event.
Example
// Get the value of the first cell of the selected row.
$("#element").wijgrid({
    selectionMode: "singleRow",
    selectionChanged: function (e, args) {
        alert(args.addedCells.item(0).value());
    }
});
Remarks
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ selectionChanged: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridselectionchanged", function (e, args) { // some code here });
See Also

Reference

options type
wijgrid jQuery Widget