Hi, i've to delete multiple selected rows.
i tried to make some code but doesn't work properly.
(it doesn't delete all lines, but only the first)
var grid = $('#grid_prodotti').pqGrid("getInstance").grid;
var sel = grid.SelectRow().getSelection();
var rIndex;
for (i= 0; i < sel.length; i++) {
rIndex = sel[i]['rowIndx'];
grid.deleteRow({ rowIndx: rIndex })
}
how is the correct way to delete multiple row?
thank you