AbsaOSS / AbsaOSS/cps-shared-ui

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

Open
#403 0 comments 0 reactions 1 assignee Claimed by @lukasmatta View on GitHub
enhancement library
Dominant language
TypeScript
Stars
9
Forks
6
Avg merge
23h 46m
Merged PRs (30d)
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.