remove

removes the specified item/items from datastore

void remove(string|number|array id);

Parameters

idstring|number|arraythe item id or an array of items' ids

Example

$$("fmanager").remove(1); // removes the item with ID=1
$$("fmanager").remove($$("data").getSelectedFile(some)); // removes the selected item
 
$$("fmanager").remove([1,3,5]); // removes multiple items

Related samples

See also
Back to top