-
Is there an existing issue for this?
Describe the bug在【Table 树形数据展示】最后一个Demo中,添加一个按钮,用于更新TreeItems,代码如下:
当我点击该按钮,发现表格中的数据并未变化。但当修改表格参数 IsTree="false"后,点击按钮,表格中会显示变化的数据。 Expected Behavior能支持在树形结构下动态更新Items参数后正确显示新的数据。 Steps To ReproduceNo response Exceptions (if any)No response .NET VersionNo response Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@pankey888 Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
可通过本示例代码进行复现: |
Beta Was this translation helpful? Give feedback.
-
@pankey888 Table 组件功能比较多,为了性能
请点击下面 |
Beta Was this translation helpful? Give feedback.
-
讨论区不需要关闭,方便别人查阅 |
Beta Was this translation helpful? Give feedback.
@pankey888 Table 组件功能比较多,为了性能
IsTree="true"
的时候内部使用了缓存技术,你这样更改是无法更改 UI 显示的,需要增加一个参数key