AbsaOSS / AbsaOSS/cps-shared-ui

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

Aperta
#403 0 commenti 0 reazioni 1 assegnatario Rivendicata da @lukasmatta Vedi su GitHub
enhancement library
Lingua principale
TypeScript
Stelle
9
Fork
6
Merge medio
23h 46m
PR unite (30g)
5

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.