-
节点展开或收起后需要更改一些数据 目前通过重写foldGroup方法实现了对状态的监测,但这样是不是不太优雅,也可能会出现问题? 可不可以在GroupNode.model中提供方法,在展开收起状态变化后触发? |
Beta Was this translation helpful? Give feedback.
Answered by
wumail
Aug 18, 2023
Replies: 1 comment 5 replies
-
目前看来重写foldGroup不会有什么问题,也可以重写view上的getFoldIcon方法(这样可能更好) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
是的,重写foldGroup是OK的,只是感觉上在点击事件回调里面触发监听看起来会更合理一点