Wijmo UI for the Web
cellClicked Event
wijmo.grid.wijgrid Namespace > options type : cellClicked Event
The jQuery.Event object.

The value to pass into the action performed when the user clicks the cell. As in the example below, if you display an alert when the user clicks a cell, you can pass in the cell value to display in the alert using the args.

Valid Values:

The cellClicked event handler is a function that is called when a cell is clicked. You can use this event to get information about a clicked cell using the args parameter.
Syntax
$(function () {
    // Set cellClicked event handler function
    $(".selector").wijgrid({
        cellClicked : function (e, args) {
     
        }
    });
});
cellClicked = function ( 
   e : Object,
   args : ICellClickedEventArgs
) { };

Parameters

e
The jQuery.Event object.
args

The value to pass into the action performed when the user clicks the cell. As in the example below, if you display an alert when the user clicks a cell, you can pass in the cell value to display in the alert using the args.

Valid Values:

Example
// The sample uses the cellClicked event to trigger an alert when the cell is clicked.
$("#element").wijgrid({
    cellClicked: function (e, args) {
        alert(args.cell.value());
    }
});
Remarks

You can bind to this event by type or by name.

To bind to the event by name:

$("#element").wijgrid({ cellClicked: function (e, args) { // some code here }});

To bind to the event by type:

$("#element").bind("wijgridcellclicked", function (e, args) { // some code here });

See Also

Reference

options type
Blog: Deselect Rows Using Ctrl+Click in Wijgrid
wijgrid jQuery Widget