Ticket #6073 (closed enhancement: fixed)
ItemFileReadStore - refetch from server
| Reported by: | guest | Owned by: | jaredj |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Data | Version: | 1.0 |
| Severity: | normal | Keywords: | ItemFileReadStore refresh fetch server |
| Cc: | josh@… |
Description (last modified by jaredj) (diff)
Currently ItemFileReadStore will only fetch once from the server. This works well in most situations but many times it seems like people want to be able to tell the store to re-fetch data from the server. Usually the answer is "use QueryReadStore" - sometimes this is not appropriate or even possible (see #6071). Also, relying a a dojox component for your data store might make some people nervous as dojox implies "experimental" (even if QueryReadStore is quite stable).
From lurking on the forums I see this request periodically and it seems to frustrate a lot of people that this functionality is not possible and usually results in strange hacks, suck as creating a brand new QueryReadStore with the same URL as the original store and assigning it over your existing store. (e.g. mywidget.store = new_store)