wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

Calling TreeGrid#openItemAt() multipe times generates duplicate columns #246

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps To Reproduce:
1. Create a TreeGrid with any dataProvider
2. call treeGrid.openItemAt(0) more than once

Expected Behaviour: 
If item is closed, then it should open. Otherwise nothing happens.

Actual Behaviour: 
If item is already open its children are duplicated.

Version: #TRUNK on 21/09/2009
OS: Windows XP SP3

Attached are:
TGT.mxml     -->  the code to reproduce the bug
TreeGrid.as  -->  the corrected source file. (lines 780 to 792)

Original issue reported on code.google.com by ziadao...@gmail.com on 21 Sep 2009 at 8:28

Attachments:

GoogleCodeExporter commented 8 years ago
This also applies to closeItemAt() function.  Calling this removes nodes more 
than once.

Original comment by charlie....@gmail.com on 25 Oct 2009 at 4:48