Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么能做到默认展开某一个父类及他的子类 ,不是全部展开 #17

Closed
tanghk opened this issue Mar 16, 2021 · 5 comments

Comments

@tanghk
Copy link

tanghk commented Mar 16, 2021

No description provided.

@wwmz
Copy link
Owner

wwmz commented Mar 16, 2021

No description provided.

设置子数据源 isExpand 为yes试试

@tanghk
Copy link
Author

tanghk commented Mar 16, 2021

尝试了 但是没有作用

@wwmz
Copy link
Owner

wwmz commented Mar 17, 2021

尝试了 但是没有作用

你没设置对吧 你要把全部展开那个属性关了 然后子数据源从第一级开始 都要 isExpandSet为YES 类似这样哦
TreeParam().isExpandSet(YES) .currentIdSet(@"1").nameSet(@"第1_0级")
TreeParam().isExpandSet(YES).currentIdSet(@"11").nameSet(@"第2_11级").parentIdSet(@"1"),
TreeParam().isExpandSet(YES).currentIdSet(@"111").nameSet(@"第3_111级").parentIdSet(@"11"),

@tanghk
Copy link
Author

tanghk commented Mar 20, 2021

我设置的问题,非常感谢

@tanghk
Copy link
Author

tanghk commented Mar 24, 2021

有个新的问题 知道了子类的节点,怎么让他的父类都处于产开状态

@wwmz wwmz closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants