I have implemented dynatree with checkbox=true. but i want to display checkbox only for leaf nodes. how to achieve this ? Thanks

有帮助吗?

解决方案

One way would be to set hideCheckbox: true on nodes that are not leafs

Take a look at the example: Example: Selection and checkbox

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top