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

隐藏表头功能 #2490

Open
wilding96 opened this issue Feb 22, 2022 · 7 comments
Open

隐藏表头功能 #2490

wilding96 opened this issue Feb 22, 2022 · 7 comments
Labels
feature request New feature or request priority: low

Comments

@wilding96
Copy link

TuSimple/naive-ui version (版本)

2.25.2

Vue version (Vue 版本)

3.2.31

Browser and its version (浏览器及其版本)

Chrome(98.0.4758.102)

System and its version (系统及其版本)

MacOS(12.1)

Node version (Node 版本)

Reappearance link (重现链接)

https://codepen.io/wilding96/pen/NWwMMKd

Reappearance steps (重现步骤)

在需要控制隐藏或者显示表头的场景下遇到此问题。

Expected results (期望的结果)

有表头显示隐藏的配置项。

Actual results (实际的结果)

在需要控制隐藏或者显示表头的场景下遇到此问题。

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Feb 22, 2022
@07akioni
Copy link
Collaborator

考虑做一下

@FlyingRadish
Copy link

+1,做报表非常需要这个功能

@gowy222
Copy link

gowy222 commented Dec 2, 2022

+1 找了半天没找到这个接口... 迫切需要...

@h25302
Copy link

h25302 commented Apr 5, 2023

非常需要这个功能,有时候表格横向太长,需要用户能够自由选择隐藏一部分列
其它几个主要竞品都有相关功能,期待naiveUI能够早日提供这个功能呀,希望能够提高优先级啊

@yhy0
Copy link

yhy0 commented Jun 14, 2023

这个功能还做吗?

@layton5725
Copy link

用下面这种方法倒是能实现:
在列的className中设置display: none; 然后在每一行的样式row-class-name中设置display: table-cell;

@wcnhna
Copy link

wcnhna commented Oct 6, 2024

Loooooooong time has passed and it still hasn't been completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request priority: low
Projects
None yet
Development

No branches or pull requests

9 participants