EaxGridView.getCellCoords

Syntax

getCellCoords();

Description

The getCellCoords method returns coordinates of the left upper corner cell in the selected range.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Define coordinates of the left upper corner cell in the selected range:

var coords = expressBox.getDataView().getGridView().getCellCoords();
console.log("Column index: " + coords.colIndex);
console.log("Row index: " + coords.rowIndex);

Consider that the following cell is selected in table:

After executing the example the following lines are output to the browser console:

Column index: 3
Row index: 1

See also:

EaxGridView