Search
CellEventArgs Constructor
See Also
 






Initializes a new instance of the CellEventArgs class.

Namespace: MindFusion.DataViews
File: EventArgs.js

 Syntax

JavaScript  Copy Code

function CellEventArgs (row, column)

 Parameters

row

Number. The row index of the cell.

column

Number. The column index of the cell.

 Example

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;
});

 See Also