Skip to content
New issue

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

[Feature] 表头树的columnTree支持折叠/展开功能 #3484

Open
7dingdang0 opened this issue Feb 27, 2025 · 1 comment
Open

[Feature] 表头树的columnTree支持折叠/展开功能 #3484

7dingdang0 opened this issue Feb 27, 2025 · 1 comment
Assignees
Labels
feature 新需求

Comments

@7dingdang0
Copy link
Contributor

What problem does this feature solve?

  1. 提升数据展示的灵活性
    复杂数据结构:多维表格通常用于展示复杂的数据结构,列头可能包含多层次的分类或分组。树形结构允许用户根据需要展开或折叠某一层级,避免信息过载。
    聚焦关键信息:用户可以通过折叠不相关的列,聚焦于当前关注的数据,提升数据查看的效率。
  2. 优化用户体验
    减少视觉干扰:当列头层级较多时,展开所有列会导致界面拥挤,影响用户阅读。折叠功能可以减少视觉干扰,让界面更简洁。
    交互友好:树形结构的展开和折叠是用户熟悉的交互模式,符合用户的操作习惯,降低学习成本。
  3. 提高性能
    减少渲染压力:折叠部分列可以减少表格的渲染量,尤其是在数据量较大时,能够显著提升表格的渲染性能。
  4. 适应不同场景需求
    数据分析:在数据分析场景中,用户可能需要查看不同层级的数据细节,树形结构提供了灵活的查看方式。
    报表展示:在报表展示场景中,用户可以通过折叠不重要的列,突出关键数据,使报表更清晰易懂。

Image

What does the proposed API look like?

在树形列头上增加展开/折叠图标,点击切换状态
Image

@7dingdang0 7dingdang0 added the feature 新需求 label Feb 27, 2025
@fangsmile
Copy link
Contributor

@fangsmile fangsmile self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新需求
Projects
None yet
Development

No branches or pull requests

2 participants