1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    8
    Vote Rating
    0
    vpizzle is on a distinguished road

      0  

    Default UpdateManager Example?

    UpdateManager Example?


    I'm trying to figure out how to use UpdateManager to update content via ajax to put into a div tag.

    Does anyone have a nice full example I can take a look at to get me started?

    Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    8
    TommyMaintz will become famous soon enough

      0  

    Default


    Look at the Ext.Element.load() function. it takes a url as parameter.

    so it probably will look something like
    Code:
    Ext.get('el-id').load('someurl.html');

  3. #3

    Default


    How to init rendere object - u can see in source code of UpdateManager
    Code:
            render : function(el, response, updateManager, callback){
                    el.dom.innerHTML = '';
    
                    var buttons = Ext.decode(response.responseText);
                    
                    for(var id in buttons) {
                            var b = buttons[id];
                            var ne = this.tpl.append(el.dom, b);
                            Ext.EventManager.addListener(ne, 'click', this.loadTree, ne, {data:b, obj:this});
                    }
            }

Similar Threads

  1. updatemanager
    By juantascon in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 27 Mar 2007, 12:16 PM
  2. Ext UpdateManager In Production
    By jon.whitcraft in forum Community Discussion
    Replies: 5
    Last Post: 26 Mar 2007, 3:01 PM
  3. updatemanager: keepDataOnNoChange possible?
    By Wolfgang in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 25 Mar 2007, 11:08 PM
  4. UpdateManager and IE6
    By ines in forum Ext 1.x: Help & Discussion
    Replies: 11
    Last Post: 5 Feb 2007, 8:55 AM
  5. UpdateManager
    By techno_adi in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 15 Nov 2006, 6:54 AM

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