Search
CellEventArgs.row Property
See Also
 






Gets the row of the cell, associated with the event.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

get row() {}

 Property Value

Number. The row index.

 Example

The following code handles the cellSelected event of Grid, which provides data through the CellEventArgs class. The event handler sets the value of an HTML <input> element to be the index of the selected row:

JavaScript  Copy Code
grid.cellSelected.addEventListener(function (sender, args)
{
    document.getElementById("row_index").value = args.row;
});

 See Also