29 Feb 2012 2:03 PM #1
XTemplate Automatic Data Update/Binding?
Hi, I'm a long-time Flex developer who's looking at Ext and Ext GWT. A powerful feature of Flex is called binding, where a view can reference data in some other object, and when that data changes, the value is automatically updated in the view.
I've searched around for something similar for XTemplates but haven't found information on this. So thought I'd come right to the source and ask if this is possible with XTemplates?
29 Feb 2012 3:09 PM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
Twitter - @evantrimboli
Don't be afraid of the source code!
1 Mar 2012 1:56 AM #3
i agree with evan that the view is a good example, but there is more: almost every ui widget in the framework uses xtemplates that are bound to data arrays or stores.
for example: view, gridpanel & treepanel are using stores, but even the base class container has renderTpl and renderData.Best regards
S-CIRCLES Social Network Engine