View Full Version : Duplicate entries for Root-TreeNodes in TreeGrid

Sven Bernhardt
5 Oct 2009, 4:45 AM

I've got an ugly issue using a TreeGrid-Widget: If my TreeStore is for example filled with some elements, the root element will be diplayed twice. When I click on the duplicated entry it disappears.

By debugging the initialization of my TreeGrid, I can see that the TreeStore is initialized correctly. I suppose, that the problem is the afterRederView()-Method in TreeGrid, here renderChildren( null ) is called. This call adds the root-Element of my store the second time. Is this a bug, or the expected behaviour of TreeGrid? Are there any workarounds for the issue?

I am using GXT 2.0.1, GWt 1.7.0 on Ubuntu Linux.

Thanks in advance for your help.


5 Oct 2009, 5:08 AM
This is already fixed in SVN and part of patchrelease 2.0.2

Sven Bernhardt
6 Oct 2009, 3:12 AM
Hi Sven,

is there any other possibility to workaround this issue, except the upgrade?

Furthermore it is strange that we do not have the same problem with all used TreeGrids in our project. Could you please be so kind and explain a little more in detail what the problem is?

Thanks in advance,