Results 1 to 3 of 3

Thread: Update Panel's Html content

  1. #1
    Sencha Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    34
    Vote Rating
    46
      0  

    Question 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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

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

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2007
    Location
    Lille, France
    Posts
    34
    Vote Rating
    46
      0  

    Default Thanks

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

    Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •