Posted 22 April 2018, 10:07 am EST
I am trying to perform a remove action based on the user selected cells. I know there is a isSelected property per row but i do not want to iterate through each row to determine this (for performance reasons). So i thought to user the selection property to find which rows the user has selected. I’ve slightly modified your code in below fiddle. Open console log and check and uncheck multiple rows. The selection cell range is always 0.
I’m not sure if there are any better ways.
http://jsfiddle.net/pq58z0yj/23/
for (
var i = this.grid.selection.bottomRow;
i >= this.grid.selection.topRow;
i--
) {
if (this.grid.rows[i].isSelected) {
// this.grid.editableCollectionView.remove(
// this.grid.rows[i].dataItem
// );
}
Thank you.
