Skip to content

使用聚合数据,配置rowTree和懒加载,点击懒加载节点之后,同级数据不展示 #5334

Description

@fengcanliuxu

Version

1.26.6 react版本 vtable测试都存在

Link to Minimal Reproduction

无

Steps to Reproduce

  1. 表格使用聚合函数
  2. 表格配置rowTree懒加载节点
  3. 点击懒加载节点使用setTreeNodeChildren添加数据
  4. 同层级子节点数据不展示,该懒加载节点点击收缩起来也不会复原
    补充: 懒加载数据也是相当于聚合后的一行数据,如果点击节点之后使用setRecords同时传递懒加载数据和表格数据节点会展示,但是合计计算没有去重,并且最外层合计消失(合计使用rowTree 手动加了节点,应该是表格自己计算出来的数据没有添加对饮聚合数据)

Current Behavior

看描述

Expected Behavior

可以给一个标准做法吗?文档太简单了,而且文档数据太多使用的还是明细数据。
或者说当前我的做法没问题麻烦看一下是否哪里有bug

Environment

- OS:window
- Browser:google
- Framework:

Any additional comments?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions