2 Nov 2010 2:17 AM #1
Unmasking a TreePanel rendering issue
I've noticed that masking/unmasking a panel that has a scrollbar would scroll that panel at the top of it.
From what i understand the TreePanel has a buffered view with the tree nodes which are to be displayed. When you scroll, using the mouse, the view is updated with the needed tree nodes.
Lets take the case when you have a TreePanel which has many tree nodes, and the panel is scrolled at its bottom, if you mask/unmask the component it will jump at its top. At this point you will get a white panel because the view of the tree doesn't get updated and no tree nodes will be rendered. If you move the scollbar manualy, the tree nodes are rendered back again.
I think a listener is needed in order to update the TreePanel rendering when the components scrolls automatically.
By odig in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 14 Jul 2010, 8:25 PM
By joe123 in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 7 Dec 2009, 9:37 AM
By mango in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 1 Apr 2009, 6:59 AM
By devol in forum Ext 1.x: Help & DiscussionReplies: 18Last Post: 13 Oct 2006, 9:37 PM