remove

deletes the specified item from the component

void remove(string|number id);

Parameters

idstring|numberthe id of the item that should be deleted

Example

component.data.remove("2");

See also
Back to top