AbsaOSS / AbsaOSS/cps-shared-ui

Not possible to disable/hide row menu buttons for individual rows

未关闭
#403 0 条评论 0 个 reaction 已指派 1 人 已被 @lukasmatta 认领 在 GitHub 查看
enhancement library
主要语言
TypeScript
星标
9
派生
6
平均合并
23 小时 46 分钟
30 天内合并 PR
5

描述

In `CpsTable` and `CpsTreeTable` components there are `showRowRemoveButton` and `showRowEditButton` input properties that allow to hide/show row menu buttons globally for the whole table/treetable. However, it's not possible to hide or disable those buttons for individual rows based on its properties.

To illustrate on an example, let's say that in the following table we would like to disable `Remove` button for rows that contain falsy value in the D column.
image

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。