baidu / baidu/amis

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

Open
#7,625 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 实现场景:
同一个表格有一些列需要根据类型不同展示或隐藏

#### 存在的问题:
无法动态配置表头或用表达式配toggled

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the table component and the configuration handling for column visibility, especially `toggled` and `visibleOn`. Clarify whether dynamic headers, expression-based `toggled`, or both are required, then inspect existing table configuration tests if available. Done should mean columns can be shown or hidden by the table's type-dependent configuration without duplicating whole tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.