Sven Bernhardt
5 Oct 2009, 4:45 AM
Hello,
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.
Sven
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.
Sven