Opened 11 years ago

Closed 11 years ago

#5733 closed enhancement (fixed)

dojodata not querying store feature after setData

Reported by: guest Owned by: Bryan Forbes
Priority: high Milestone: 1.2
Component: DojoX Grid Version: 1.0
Keywords: Cc: shawn@…
Blocked By: Blocking:

Description (last modified by dylan)

I have been creating a datastore programatically and then assigning it to a dojox.grid.data.DojoData? which has been declared in the markup. The data store is an ItemFileWriteStore?. In the setData method of the model it does not query the features of this new store so I have to manually set _canWrite for changes in the model to be propagated to the store.

Should the model not automatically requery the features of the new store when using setData?

Change History (5)

comment:1 Changed 11 years ago by dylan

Milestone: 1.2

comment:2 Changed 11 years ago by dylan

Description: modified (diff)
Owner: changed from anonymous to Jared Jurkiewicz

comment:3 Changed 11 years ago by Jared Jurkiewicz

Component: GeneralDojoX Grid

This is a grid issue, not a dojo.data one. And yes, I agree, if setData is called to change a store, it should requery and reconfigure.

Not sure this applies to 1.2 anymore, given the grid rework.

comment:4 Changed 11 years ago by Jared Jurkiewicz

Owner: changed from Jared Jurkiewicz to Bryan Forbes

Bryan, does this apply to the 1.2 version of grid?

comment:5 Changed 11 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

This is fixed in the 1.2 version of the grid.

Note: See TracTickets for help on using tickets.