Column and Row Indexes

The following indexes can be used in methods and callback functions:

  • Initial Column Index (or simply 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.

    DevExtreme HTML5 JavaScript DataGrid Visible Column Index

  • Row Index
    Starts from 0 and increases by 1 per row including group rows. With paging, the index resets on each page.

    DevExtreme HTML5 JavaScript DataGrid Row Index