Hi All,
I was able to fix the issue. It was happening because the verticalScrollPosition was getting changed automatically. I had forcefully set the scroll position back to the previous position and eventually it got solved. Thanks ALL Regards, Anoop ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, November 06, 2008 7:24 PM To: [email protected] Subject: [flex_india:15825] Re: Bug in Tree? Hi Vinod, Its still giving me problem. My Actual tree structure is something like this. >ALL >A >B >C Suppose the tree is expander to be very big and its showing the scroll bar. Now when scrollbar is at the bottom most position, I am refreshing the dataprovider using the following code. cache.treeData.removeAll(); for (var count:int=0; count<clientTreeNodesList.length;count++) cache.treeData.addItem(clientTreeNodesList.getItemAt(count)); where my tree's dataprovider is treeData which is an arrayCollection present in the cache. Now after this refreshing, when I scroll the scroll bar to the top position it is showing like this: >ALL >ALL >ALL >ALL >ALL >ALL >ALL >A >B >C In these repeated nodes only one is actual node and the others is just showing as dummy, which is not clickable. If you scroll to the bottom again and scroll again, the problem is gone. Its coming only when the tree is giving scrollbar. If anybody has come across such a problem pls help as its proving to be a show stopper. :-( Interestingly I found one similar problem as of mine in the Bug Management System. Pls check this out. http://bugs.adobe.com/jira/browse/SDK-9253 Thanks & Regards, Anoop ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Vinod M. Jacob Sent: Thursday, November 06, 2008 3:06 PM To: [email protected] Subject: [flex_india:15793] Re: Bug in Tree? Try to put this attribute in tree component. liveScrolling=" true" On Wed, Nov 5, 2008 at 10:08 PM, Shilpa Ch <[EMAIL PROTECTED]> wrote: Anoop, Can you post the code so that the bug can show up more clear. Thanks & Regards Shilpa Chalasani On Wed, Nov 5, 2008 at 6:22 AM, Anoop Max <[EMAIL PROTECTED]> wrote: Hi all, I am having a tree in my App. I am facing a problem when the tree is having a scroll bar and the scrollbar is at the bottom most. After some operations, i am refreshing the tree data provider. When i scroll it back i can see the first root of the tree is repeated a number of times. if i scroll it down and then up, its not coming up. had anybody faced a similar kind of issue. Please help, because its giving me so many problem. Thanks in advance anoop DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you are not the intended recipient, you should not disseminate, distribute, store, print, copy or deliver this message. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The sender, therefore, does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required, please request a hard-copy version. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

