1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Raleigh, NC
    Posts
    374
    Vote Rating
    121
    brian428 is a name known to all brian428 is a name known to all brian428 is a name known to all brian428 is a name known to all brian428 is a name known to all brian428 is a name known to all

      0  

    Default XTemplate Automatic Data Update/Binding?

    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?

    Thanks,

    Brian

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,114
    Vote Rating
    507
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    What you're looking for is a View: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.view.View
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,663
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    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
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar