tree check box not selected at the form load

asked 2020-04-24 17:18:13 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2625 3 8


Please look at this fiddle


Can some one change to handle such a way at the form load itself, i want to select the tree nodes

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-30 17:32:17 +0800

MDuchemin gravatar image MDuchemin
1688 1 5
ZK Team


You can use model.addToSelection() to add a node to the selected nodes list. See the updated fiddle: https://zkfiddle.org/sample/24m366f/106-select-subtree-with-treemodel

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2020-04-24 17:18:13 +0800

Seen: 4 times

Last updated: Apr 30

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More