or there’s a problem or it’s me that I did not understand how it works.
please try deleting a row (with the CANC key) in the attached example.
is rowindex wrong?
try normal and setting parent
Check the UserDeletingRow and UserDeletedRow events.
The e.RowIndex is correct. It’s the index of the removed row. The sample app is using the deleted index to read the value from the row collection, but the row has been deleted (removed from the collection) so the index is referring to the next row now. The event RowsRemoved is fired after the rows have been removed. There is no event fired before the rows are removed – it’s entirely up to the application.
There is a bug with the initial RowRemoved (index 0) events with count 0. Logged will be fixed in the current dev build.
Please login first to submit.