Opened 11 years ago

Last modified 11 years ago

#9694 closed enhancement

Public API to change ItemFileReadStore url — at Initial Version

Reported by: Josh Trutwin Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.4
Component: Data Version: 1.3.2
Keywords: clearOnClose Cc:
Blocked By: Blocking:


Per #6073 there is a clearOnClose param since 1.2 that allows a data store to change URL's without having to create a new store. But for this to work you have to set a psuedo-private member of the class:

<div id="store" dojoType="" clearOnClose="true" url="/foo.php">


dijit.byId("store")._jsonFileUrl = "/bar.php"; dijit.byId("store").close(); dijit.byId("store").fetch();

Would it be possible to replace the first line with something like:


Or even:

dijit.byId("store").attr('url', '/bar.php');



Change History (0)

Note: See TracTickets for help on using tickets.