I’m using the First column of my grid as cntr type which keeps incrementing itself as i keep adding the rows . Is it possible to make the ID of the row also equal to the value shown by the first column . Right now im using your method of generating a random date and keeping that as the ID. How to get the information from cntr and keep that as an ID
Please help me out in this issue
The ID of row is main row parameter which identify it, it can be changed by
grid.changeRowId(…
so it is not safe to do such massive id changing operation ( meanwhile you control id of row while adding, so you can create a row with already necessary ID )
The values shown by cntr exCell are row indexes, so you can always convert them to IDs
var row_id = grid.getRowId(row_index);
and in back order
var row_index = grid.getRowIndex(row_id);