0

tree check box not selected at the form load

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

Senthilchettyin gravatar image Senthilchettyin flag of India
2623 3 8
http://emrpms.blogspot.in...

Hello

Please look at this fiddle

https://zkfiddle.org/sample/24m366f/2-select-subtree-with-treemodel#source-2

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
0

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

MDuchemin gravatar image MDuchemin
2560 1 6
ZK Team

Hi!

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

Follow
1 follower

RSS

Stats

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

Seen: 5 times

Last updated: Apr 30 '20

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