1. #1
    Ext User
    Join Date
    Aug 2010
    Posts
    16
    Vote Rating
    0
    Kupper is on a distinguished road

      0  

    Default Updating panel with tpl

    Updating panel with tpl


    Hello there!

    I have a panel with a tpl defined and some default data on it. Works perfectly, but when I try to update it, no success...no error, no warning, nothing, simply no update.
    I`m doing it by using the update method for the panel passing a data object like this:

    {something: value,
    otherthing: value}

    Also, my tpl contain the variables "something"and "otherthing".

    Any tips?

    Thanks!!!

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    try myPanel.body.update(myTpl.apply(myDataObj));

Similar Threads

  1. Updating a panel based on other panel's events
    By erincarikan in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 12 Mar 2009, 7:29 AM
  2. Updating split Tab Panel
    By qvrb in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 11 Dec 2008, 10:48 AM
  3. Updating Ext.Panel with image?
    By Ferrari312 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 1 Apr 2008, 12:42 AM
  4. Updating content panel.
    By joxan in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 2 Mar 2007, 11:58 PM

Thread Participants: 1

Tags for this Thread