remove

deletes the specified item from the component

void remove(string|string[] id);

Parameters

idstring|string[]the ids of the items that should be deleted

Example

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

Related samples

See also
Back to top