1. #1
    Sencha Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    33
    Vote Rating
    18
    haldrix will become famous soon enough haldrix will become famous soon enough

      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
    9,365
    Vote Rating
    128
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


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

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    33
    Vote Rating
    18
    haldrix will become famous soon enough haldrix will become famous soon enough

      0  

    Default Thanks

    Thanks


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

    Thanks again.
    -->

Thread Participants: 1