AbsaOSS / AbsaOSS/cps-shared-ui

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

Offen
#403 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @lukasmatta Auf GitHub ansehen
enhancement library
Vorherrschende Sprache
TypeScript
Sterne
9
Forks
6
Ø Merge
23 Std. 46 Min.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.