Initializes a new instance of the CellEventArgs class.
Namespace: MindFusion.DataViews
File: EventArgs.js
SyntaxJavaScript
Copy Code
|
|---|
function CellEventArgs (row, column) |
Number. The row index of the cell.
Number. The column index of the cell.
ExampleThe 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; }); |
See Also