1. #1
    Ext JS Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    30
    Vote Rating
    0
    haldrix is on a distinguished road

      0  

    Question Update Panel's Html content

    Update Panel's Html content


    Hi all,

    I need your help for a little thing, if someone can do that...i'll be . Well the problem is simple, i have a panel in the north of my viewport. The HTML property needs to be updated with some text when user clicks somewhere in the viewport. The problem is that when i use this property :

    Code:
    mypanel.html = 'some text';
    mypanel.getUpdater().refresh();
    I can see in firebug that the html property contains the new value, but stills not display it.
    What is the correct update function that i have to use ?

    Thank you for your help.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,191
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Try this:
    Code:
    mypanel.body.update('some text');
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    30
    Vote Rating
    0
    haldrix is on a distinguished road

      0  

    Default Thanks

    Thanks


    Well, so simple... as my question was.

    Thanks again.