Skip to content

remove

removes the specified item/items from the datastore

function remove(
// the item id or an array of items' ids
id: string|number|array
): void
mygrid.remove(1); // removes the item with ID=1
mygrid.remove($$("data").getSelectedId()); // removes the selected item
mygrid.remove([1,3,5]); // removes multiple items

also check the next samples: