Opened 11 years ago

Last modified 11 years ago

#9694 closed enhancement

Public API to change ItemFileReadStore url — at Version 2

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:

Description (last modified by bill)

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";

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


Or even:

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



Change History (2)

comment:1 Changed 11 years ago by Josh Trutwin

oops - please add code formatting wiki tags...

comment:2 Changed 11 years ago by bill

Description: modified (diff)
Note: See TracTickets for help on using tickets.