PDA

View Full Version : [CLOSED] Share store between different components declaratively (in the markup page).



CarpFisher
Jun 11, 2012, 3:02 PM
I tried to find out from the examples how to do that but no success. please show us how to share the same data store between different components (like a gridpanel and a chart) in the markup, if possible. Thank you so much!

CarpFisher
Jun 11, 2012, 4:09 PM
I think I find out how to do it. Just define the StoreID to the store that you want to share and it will use that store as the data backend. Pretty cool if the components share the same data as they will be reflected automatically when the data in the store has been changed.

Daniil
Jun 11, 2012, 8:33 PM
Hi,

Yes, you are right, please use the StoreID property.