jd-opensource/drip-table

表格列批量显隐

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
用户希望可以配置条件或者直接批量设置控制表格列的显隐
例如:

表头一 表头二 表头三
单元格 单元格 单元格
单元格 单元格 单元格

用户希望开发者可以有地方写入类似 'hidden: index == 1 && userRole !== 'admin'' 这样的代码,可以让管理员看到第二列,而普通用户是隐藏的。
Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.