updating row indices when a middle row is deleted

I am using the add / delete row grid component. This is the problem I am facing.
Suppose there are four rows in the grid. If I delete the row no 2, the indices of row no 3 and 4 should get shifted to 2 and 3 respectively. So that the next row will be get added with index 4.
Please help me to figure this out.
December 25,
The row indices are permanent and do not change when you add/remove rows or sort the grid. Row indices refer to the data in the data source and not row display position.


Alex (ActiveWidgets)
January 4,

This topic is archived.

See also:

Back to support forum