VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] 树形表格分组,非树形列显示错误

Open Tdota2 opened this issue 2 months ago • 2 comments

Version

1.22.0

Link to Minimal Reproduction

https://www.visactor.io/vtable/demo/table-type/list-table-tree

Steps to Reproduce

在官方Demo基本树形表格中,options增加一个group分组

Image

groupConfig: { groupBy: 'monthly_expense', },

Current Behavior

非树形列,如第二第三等列,内容都缩进了

Image

Expected Behavior

非树形列能正常显示内容 或 能否支持配置根据一级节点配置还是根据最下层节点配置分组

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Tdota2 avatar Oct 27 '25 08:10 Tdota2

https://www.visactor.io/vtable/demo/table-type/list-table-group-checkbox groupBy的数据是平铺的 请参考这个demo

fangsmile avatar Oct 29 '25 02:10 fangsmile

https://www.visactor.io/vtable/demo/table-type/list-table-group-checkbox groupBy的数据是平铺的 请参考这个demo

是的,这个demo是正常的,属于是平铺的。 我最开始的实例是处于树形结构的数据中出现的问题,所以目前来看,树形结构可能不太合适使用

Tdota2 avatar Oct 29 '25 06:10 Tdota2