Hi,
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
regards
Cristian
Check the UserDeletingRow and UserDeletedRow events.
Hi Cristian,
the problem that Luca mentioned with the RowRemoved event sent initially is logged as WJ-8990 and a fix is included in the latest Wisej development build (1.4.99).
Best regards
Frank
Yes! How did I do to not see the UserDeletingRow and UserDeletedRow events!?,
thank you Luca Sky Walker
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.