Search.../

cellRowIndex

Gets the row index of the selected cell.

Description

The rows in a table are zero-based and do not include the table header.

Table Row Numbering

Type:

numberRead Only

Was this helpful?

Get the selected table cell information

Copy Code
1$w("#myTable").onCellSelect( (event) => {
2 let cellColId = event.cellColumnId; // "columnId_b2b3-87d9-49250"
3 let cellData = event.cellData; // "John"
4 let cellRowIndex = event.cellRowIndex; // 1
5} );