We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tree控件在构造函数的后台请求数据后赋值树结构没有刷新如何解决,求解?
<d-operable-tree #operableTree [tree]="dataSource" [iconParentOpen]="iconParentOpen" [iconParentClose]="iconParentClose" [iconTemplatePosition]="'after-checkbox'" [disableMouseEvent]="disableMouseEvent" >
动态修改dataSource值没有刷新
The text was updated successfully, but these errors were encountered:
确认下数据是否完成变更,数据变更无误的话尝试下解构赋值
Sorry, something went wrong.
数据没问题,直接吧数据贴到ts里面就正常,貌似直接修改dataSource不能动态更新,也找到不可以重新加载树的方法,只能用basicTree.treeFactory.mapTreeItems方法临时解决了
@bouyeijiang 谢谢你的反馈,希望issue的标题能更完善一些
No branches or pull requests
What problem does this feature solve
tree控件在构造函数的后台请求数据后赋值树结构没有刷新如何解决,求解?
What does the proposed API look like
<d-operable-tree
#operableTree
[tree]="dataSource"
[iconParentOpen]="iconParentOpen"
[iconParentClose]="iconParentClose"
[iconTemplatePosition]="'after-checkbox'"
[disableMouseEvent]="disableMouseEvent"
>
动态修改dataSource值没有刷新
The text was updated successfully, but these errors were encountered: