dojox.data.JsonRestStore.deleteItem
dojo.require("dojox.rpc.JsonRestStore");
defined in dojox/rpc/JsonRestStore.js
deletes item any references to that item from the store.
Usage
function (item, /*Array*/ parentInfo) (view source)
parameter | type | description |
---|---|---|
item | delete removeFrom: This an item or items from which to remove references to this object. This store does not record references, so if this parameter the entire object graph from load items will be searched for references. Providing this parameter is vastly faster. An empty object or truthy primitive can be passed if no references need to be removed If the desire is to delete only one reference, unsetAttribute or setValue is the way to go. | |
parentInfo | Array |