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

table组件如何动态配置表头,toggled可以支持表达式吗? #7625

Open
anxueyan1989 opened this issue Jul 28, 2023 · 4 comments

Comments

@anxueyan1989
Copy link

实现场景:

同一个表格有一些列需要根据类型不同展示或隐藏

存在的问题:

无法动态配置表头或用表达式配toggled

当前方案:

当前方案就是配置多个表格,用visibleOn控制整个表格的显隐

@2betop
Copy link
Collaborator

2betop commented Jul 31, 2023

此属性不支持表达式,感觉没必要啊

@anxueyan1989
Copy link
Author

那如何动态配置表头呢?

@2betop
Copy link
Collaborator

2betop commented Aug 1, 2023

@boxui
Copy link

boxui commented Jan 9, 2025

这个应用场景还是挺常见的,比如表格是几十上百列,需要根据不同类型字段进行隐藏、显示。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants