Treeview JS1, Treeview JS2


Hi,

I would like to use Treeview JS2(Angular) instead of my current treeview JS1(Angular).
The only problem is, is that the JS2 version does not have a property like "autoCheckParentNode" from JS1(Which needs to be false in my case). 
I dont want the parent to be (semi)checked and selected like in the current JS2, and vice versa I dont want the parent to check and select the children.
Do you have any idea or fix for this?


greetings,

Laurens

Typescript, Angular 6, Material

3 Replies

SK Shanmugaraja K Syncfusion Team September 3, 2018 11:27 AM UTC

Hi Laurens, 
 
Thank you for using Syncfusion products. 
 
Currently we don’t have the autoCheckParentNode option in EJ2 treeview. We have considered this as a feature [“Provide autoCheckParentNode option for TreeView”] at our end. We will implement this feature on Vol 3 SP1, 2018 release. 
 
Regards, 
Shanmugaraja K 
 



LA Laurens Albers December 14, 2018 12:51 PM UTC

Hi,

Any update on the property? Or is there any other (new) way to check nodes without checking the parentnode?
thanks!

greetings,

Laurens Albers


CI Christopher Issac Sunder K Syncfusion Team December 17, 2018 09:01 AM UTC

Hi Laurens, 

We have included this feature in the latest beta release(16.4.40-beta). Thus, you can use the “autoCheck” property to achieve this behavior. Please refer to the below code block, 
 
<ejs-treeview id="default" [showCheckBox]=true [autoCheck]=false [fields]='field'></ejs-treeview> 
 


Please let us know if you have any concerns. 

Thanks, 
Christo

Loader.
Up arrow icon