PDA

View Full Version : Refreshing contents of a tab item



francescoNemesi
4 Sep 2008, 7:05 AM
Hi there,

I have a TabPanel to which I add TabItem(s) based on used request. After a TabItem is created users can dynamically add ContentPanel(s) to it.

The problem is that the newly added ContentPanel(s) become visible only if I select another TabItem in the TabPanel and then click back where the ContentPanel was added.

Is there a way to visualize immediately the new TabItem content after a ContentPanel is added to it? A "refresh" method or something similar...

Thanks for your help

Francesco

victor.martinez
4 Sep 2008, 7:42 AM
maybe, try .layout()

francescoNemesi
4 Sep 2008, 8:05 AM
You are a start... =D> exactly what I needed

Thank You