Functiondojox.data.jsonPathStore.fetchItemByIdentity

dojo.require("dojox.data.jsonPathStore");
defined in dojox/data/jsonPathStore.js

fetch an item by its identity. This store also provides a much more finger friendly alias, 'byId' which does the same thing as this function. If provided a string this call will be treated as a SYNC request and will return the identified item immediatly. Alternatively it takes a object as a set of keywordArgs: identity: / string / the id of the item you want to retrieve mode: dojox.data.SYNC_MODE || dojox.data.ASYNC_MODE overrides the default store fetch mode onItem: / function / Result call back. Passed the fetched item. onError: / function / error callback.

Usage

function (args) (view source)
parametertypedescription
args