Wijmo UI for the Web
selectionChanged Field
wijmo.grid Namespace > IWijgridOptions Interface : selectionChanged Field

The selectionChanged event handler is a function that is called after the selection is changed.

Syntax
var instance; // Type: wijmo.grid.IWijgridOptions;
var value; // Type: any
value = instance.selectionChanged;
var selectionChanged : any;
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

IWijgridOptions Interface