Hi
I need to delete Multiple rows after selecting rows using mygrid.enableBlockSelection(); command. Im able to copy and paste but unable to delete. Can anybody let me know how to delete all the items that were selected
thanks in Advance
You can’t just delete separate cells, the grid is row-centric, so only full rows can be deleted.
If you want to delete rows included in selection, you can use code similar to next
var top = grid._selectionArea.LeftTopRow;
var bottom = grid._selectionArea.RightBottomRow;
for (var i=bottom; i<=top; i–)
grid.deleteRow(grid.getRowId(i));