Skip to content

[FR]: Styles for non-editable columns #4045

Description

@sakshamgoyal-01

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);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions