TreeView Collapse and Expand not working properly

Closed
0
0

Hi,

The Treeview is not properly collapsed and expanded. If we collapse the nodes, the child nodes are attached to another parent. And more and more collapse and expand the nodes, all the child nodes are mingled to some other parents and totally confusing

And there are no + and – images and lines, and no root lines also, even though I selected True in the property. It is showing different images.

Herewith I have attached a sample project.

Could you please help me to resolve the issue?

Thanks a lot in anticipation.

 

 

 

 

 

Attachment
  • You must to post comments
0
0
  • You are adding the same node to multiple parents.
  • ShowRootLines doesn’t show any line (the comment is wrong). When false it doesn’t show the root open/close button. Lines are not supported.
  • There are +/- icons displayed correctly (depends on the theme)
  • The icons are also all correct.

Once you fix your code it all works fine. See screenshot.

 

 

Attachment
  • Luca (ITG)
    Correction, you are adding the same node to the same parent twice. It leads to a bad state. We’ll also fix it in Wisej to prevent this error from happening.
  • Thameem Ansari
    Thanks a lot. I changed the code and it is working fine. But I changed all the themes, the + and – not appear.
  • You must to post comments
Showing 1 result