Ticket #5733 (closed enhancement: fixed)

Opened 10 months ago

Last modified 4 months ago

dojodata not querying store feature after setData

Reported by: guest Owned by: BryanForbes
Priority: normal Milestone: 1.2
Component: DojoX Grid Version: 1.0
Severity: normal Keywords:
Cc: shawn@…

Description (last modified by dylan) (diff)

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

Changed 9 months ago by dylan

  • milestone set to 1.2

Changed 5 months ago by dylan

  • owner changed from anonymous to jaredj
  • description modified (diff)

Changed 5 months ago by jaredj

  • component changed from General to DojoX 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.

Changed 5 months ago by jaredj

  • owner changed from jaredj to BryanForbes

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

Changed 4 months ago by BryanForbes

  • status changed from new to closed
  • resolution set to fixed

This is fixed in the 1.2 version of the grid.

Note: See TracTickets for help on using tickets.