I am using an infragistics grid in my project and one of the requirements is that the user can delete only the last row of the grid. So, I have hidden the delete column from the grid and added a button on the page to delete the last row of the grid. It does this using myGrid.Rows(mygrid.rows.count-1).delete(). This is working fine. But later on after deleting few rows, if I decide to add a row then it is leading to an issue. As soon as I click on the add row button in the grid, all the rows that I deleted earlier reappears.
How can I handle this issue?
Thank you,
Prachi
Hi,
This sounds strange to me. Do you rebind the grid with the updated data on the server? If you do this the grid would show the correct number of rows.