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 摘要。