PDA

View Full Version : descending nodes in IE


notjoshing
09-25-2007, 12:29 PM
I have a TabPanel which holds a tree on one tab. To make the tree show up, I re-render it whenever I go back to its tab. Whenever it gets re-rendered, though, the tree appears one position down, as if an additional invisible node had been created. The behavior is IE-specific.

Has anyone else ever seen this? If so, is there a workaround?

Ext 1.1
IE 6.0

Thanks in advance,

Josh

tryanDLS
09-25-2007, 01:49 PM
This is probably the same problem that affects the grid in IE6 - try calling layout.layout() instead of re-rendering.

notjoshing
09-26-2007, 06:28 AM
Thanks! I ended up using a more generic solution, addressing an issue with rendering grids found in another thread (http://extjs.com/forum/showthread.php?p=66921), and which also solves this one.

Josh