Skip to main content

remove()

deletes the specified item from the component

remove(id: Id | Id[]): void;

Parameters:

id: string | string[] - the ids of the items that should be deleted

Example

component.data.remove("2");//orcomponent.data.remove(["2", "4"]);

Related sample: Data. Remove