Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User Dragnalith's Avatar
    Join Date
    Apr 2011
    Posts
    26
    Vote Rating
    0
    Dragnalith is on a distinguished road

      0  

    Default How to refresh a template in a panel ?

    How to refresh a template in a panel ?


    Hi,
    I have a template embedded in a Panel. The data for the template are received by ajax.
    If I change data how refresh the template ? I don't find any render() or refresh() methode for a panel.
    Has any one an idea ?

    Edit: So sorry, wrong forum. I was reading both

  2. #2
    Touch Premium Member
    Join Date
    Mar 2011
    Location
    New Jersey, USA
    Posts
    130
    Vote Rating
    0
    jjerome is on a distinguished road

      0  

    Default


    I dont necessarily do the following with html templates in Panels, but I do do this with DataViews inside of Panels. It's a quick (thought-of) way to refresh something like that.


    When the data changes, check to see if the component exists.

    If the component exists, destroy the component, then recreate the component and add it back into the parent component.

    Then call a doLayout() on the parent component.

  3. #3
    Sencha User Dragnalith's Avatar
    Join Date
    Apr 2011
    Posts
    26
    Vote Rating
    0
    Dragnalith is on a distinguished road

      0  

    Default


    In fact I found the method. It's update([data]) !
    Thanks

  4. #4
    Sencha User
    Join Date
    Mar 2008
    Posts
    27
    Vote Rating
    0
    neoart is on a distinguished road

      0  

    Default


    Quote Originally Posted by Dragnalith View Post
    In fact I found the method. It's update([data]) !
    Thanks
    Thanks,it really work for me!!

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