Initializes a new instance of the CellEventArgs class.
Namespace: MindFusion.DataViews
File: EventArgs.js
JavaScript Copy Code |
---|
function CellEventArgs (row, column) |
Number. The row index of the cell.
Number. The column index of the cell.
The following code handles the cellSelected event of Grid, which uses the CellEventArgs class to provide event data:
JavaScript Copy Code |
---|
grid.cellSelected.addEventListener(function (sender, args) { document.getElementById("row_index").value = args.row; }); |