-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
在【Table 树形数据展示】最后一个Demo中,添加一个按钮,用于更新TreeItems,代码如下:
private async Task OnTableButtonClick()
{
TreeItems = TreeFoo.GenerateFoos(LocalizerFoo, 3);
// 在Id 为 2的节点插入1条 子项
TreeItems.AddRange(TreeFoo.GenerateFoos(LocalizerFoo, 1, 2, 100));
StateHasChanged();
await Task.CompletedTask;
}
当我点击该按钮,发现表格中的数据并未变化。但当修改表格参数 IsTree="false"后,点击按钮,表格中会显示变化的数据。
Expected Behavior
能支持在树形结构下动态更新Items参数后正确显示新的数据。
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working