-
28 Jul 2011 7:12 AM #1
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
-
29 Jul 2011 10:23 AM #2
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.
-
29 Jul 2011 11:01 AM #3
In fact I found the method. It's update([data]) !
Thanks
-
24 Feb 2013 8:08 AM #4
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote
