[FR]: Styles for non-editable columns

Open Beginner friendly
#4,045 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

No file or test is named. Start by searching the repository for the rendering of non-editable columns and existing column class names, then check related styling tests if present. Done means non-editable columns receive a documented class that allows the proposed darker background and muted text styling.

Written by the indexing model from the issue text.

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:

.npc-rdg-grid .npc-rdg-column-readonly {
    background-color: color-mix(in oklch, var(--muted) 78%, var(--foreground) 8%);
    color: var(--muted-foreground);
}
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comcast/react-data-grid

All issues in Comcast/react-data-grid

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.