KMKanagambigai Murugan Syncfusion Team October 18, 2019 05:53 AM UTC
Greetings from Syncfusion.
We have checked the reported issue and the attached screenshot. We suspect that you are hiding the nodes by setting Visibility as hidden. Instead of that, please set the display as none to overcome the reported issue. We have prepared a sample for your reference.
Please check the above sample and get back to us if you need any further assistance on this.
SMSteve MummaOctober 18, 2019 01:27 PM UTC
I'm trying to hide or show nodes based on an outside action (ie not from any treeview event like nodeSelected or nodeCheck).
I was using the hideNode() and showNode() methods. Using these two methods, the node hides or shows properly and the child nodes (if any) hide and show properly but there is an empty section for the hidden nodes.
There does not seem to be any property for style or display when I retrieve a node from the treeview using getNode().
I believe I am using EJ1 instead of EJ2 as well if that makes a difference.
KRKeerthana Rajendran Syncfusion Team October 21, 2019 10:30 AM UTC
Good day to you.
We have checked your reported problem and attached screenshot at our end. “hideNode” method of our EJ1 Treeview component works fine at our end and no empty section is added for hidden nodes. Could you please check the below sample?