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
Example
Section titled “Example”mygrid.remove(1); // removes the item with ID=1mygrid.remove($$("data").getSelectedId()); // removes the selected item
mygrid.remove([1,3,5]); // removes multiple items
also check the next samples: