79
Views
1
Comments
[zTree] [zTree] Is it possible to force select a node child with javascript on tree load?
Question
ztree
Web icon
Forge asset by Eduardo Luís
  • Version of Service Studio: 11.8.8
  • For Web Application

I wonder if it is possible to force select a node or a child node using a javascript zTree function (with callbacks or other method) ?

I want my tree to be selected with a value saved in an entity and the node to be expanded too.

Thanks.

2025-12-15 12-14-19
Ajay Sharma

Hi,


you can use the checkbox tree (see screenshot) and use UpdateNodeCheck action to check and uncheck node.

https://emluis.outsystemscloud.com/zTreeExample/


Hope this helps if you are trying something different please explain more......

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