36
Views
1
Comments
[ZTree Reactive] [ Ztree Reactive ] - parent checkbox enabled while child is false ?
ztree-reactive
Reactive icon
Forge asset by Pedro Neto

The requirement is to make parent check box enable, even when child and sub child is unchecked

Thanks in advance !!!  

2022-03-03 22-15-30
Borislav Shumarov PhD
Champion

Easiest is you put your entries in a list, loop them over and check for the corresponding entries you need to be checked, then set their property to True:

As you see, there are a couple of other stuff, you can also set:

You can also ply around with a couple of more settings in the web block configuration itself:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.