Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Dynatree でノードの最大レベルを定義することは可能ですか? または、ツリー内のノードの最大深度を定義する方法は?
事前にTnx!
最初にそれを定義する方法はありません。
node.getLevel()所定の最大レベルを確認するために使用できます。最大値に達した場合は、そのノードから新しいサブノードを作成しないでください。
node.getLevel()