Posted 8 October 2020, 1:21 pm EST
Hi,
I have been struggling with an issue with deleting a row on the grid.
When a row is about to be deleted either through delete button or something else, at that point I want to decide with putting a business logic whether that row can be deleted or not which I am doing with the following code.
this.grid.value.deletedRow.addHandler((flex: WjFlexGrid, event: CellRangeEventArgs) => {
event.cancel = true;
});
But the only issue happening with this code is, that it does not delete the row(which is fine) but it does delete the data in the cells of that row.