Comcast / Comcast/react-data-grid

[FR]: Styles for non-editable columns

Open
#4,045 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

Description

## Use case

Allow styling columns that are not editable to be slightly darker so it's clear to the user.
## Proposed solution

A new class so you can do something like:
```css
.npc-rdg-grid .npc-rdg-column-readonly {
background-color: color-mix(in oklch, var(--muted) 78%, var(--foreground) 8%);
color: var(--muted-foreground);
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.