AbsaOSS / AbsaOSS/cps-shared-ui

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

Ouverte
#403 0 commentaires 0 réactions 1 personne assignée Réclamée par @lukasmatta Voir sur GitHub
enhancement library
Langage dominant
TypeScript
Étoiles
9
Forks
6
Merge moyen
23 h 46 min
PR mergées (30 j)
5

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.