afterRemove
Fires after removing an item/items from a data collection
afterRemove: (removedItem: IDataItem, batch: IDataItem[], index: number) => void;
Parameters:
removedItem: object- the object of a removed itembatch: array- an array of removed itemsindex: number- the index of the removed item within the batch
Example
component.data.events.on("afterRemove", function(removedItem, batch, index){
console.log("Items are removed");
});