Search...
rowIndex
Gets the index of the selected row.
Description
The rows in a table are zero-based and do not include the table header.
Type:
numberRead Only
Was this helpful?
Get the selected table row information
Copy Code
1$w("#myTable").onRowSelect( (event) => {2 let rowData = event.rowData; // {"fName": "John", "lName": "Doe"}3 let rowIndex = event.rowIndex; // 24} );