Gets the row of the cell, associated with the event.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
get row() {} |
Number. The row index.
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; }); |