Nov 01, 2012, 11:37 AM
TreePanel inside dropdown reload problem
Hi guys,
I have a strange issue with the TreePanel inside a dropdown.
It gets built correctly and it works the first time but if I try to reload the treepanel from a direct event it doesn't show up the new tree until I force the treedropdown.Render() which causes my control to move at the end of the container but then it shows the new content.
The weird thing is, I can see that the new tree is being generated correctly and it's been added to the dropdown but I couldn't find a way to show that updated data.
Is there a way to reload it either through javascript or server side code without calling Render event.
Thanks in advance for your help
I have a strange issue with the TreePanel inside a dropdown.
It gets built correctly and it works the first time but if I try to reload the treepanel from a direct event it doesn't show up the new tree until I force the treedropdown.Render() which causes my control to move at the end of the container but then it shows the new content.
The weird thing is, I can see that the new tree is being generated correctly and it's been added to the dropdown but I couldn't find a way to show that updated data.
Is there a way to reload it either through javascript or server side code without calling Render event.
Thanks in advance for your help