Closed hkar19 closed 3 years ago
For example, i need to show the row index number in a column.
in current DataTableCell, this cell will be given only the data on that row without knowing the index of the row.
DataTableCell
is there a way to get row index, or should i make it into the data itself?
I would recommend that you store the index on the data items themselves. The reason for this is if you needed to split the rows between multiple pages you wouldn’t lose your numbering.
For example, i need to show the row index number in a column.
in current
DataTableCell
, this cell will be given only the data on that row without knowing the index of the row.is there a way to get row index, or should i make it into the data itself?