Column and Row Indexes
You can use the following indexes in methods and callback functions:
Initial Column Index (or Column Index)
Equals the column's index in the columns array.Visible Column Index
Depends on the column's current location in the DataGrid and changes dynamically when columns are reordered or data is grouped. Use the getVisibleColumnIndex(id) method to get this index.This index is not equal to the index set in the column.visibleIndex property. The latter is used to reorder columns.
Row Index
Equals a row's order among rendered rows. This index starts from 0 and increases by 1 per row (includes group and detail rows).To get the row index, use the getRowIndexByKey method or rowIndex field in callback functions like onRowClick, onCellClick, etc.
NOTERendered rows can be outside the viewport; for example, if scrolling is virtual or infinite or row rendering mode is virtual. You cannot get the row index in such cases.
Feel free to share demo-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you!
We appreciate your feedback.
We appreciate your feedback.