Skip to content

Enhance DataTableColumns to disallow changing the order of some columns #7170

@kimkscott

Description

@kimkscott

Requesting a DataTableColumns enhancement to disallow the user from changing the order of a subset of the columns. Today I don't think DataTableColumns supports this.

We would like to disallow changing the order of some of the columns. We would like to pin some of the leftmost columns during horizontal scrolling. But I am not sure this is feasible if the user can reorder the columns.

Currently I think all columns can be reordered. I don't think there's a way to prevent the user from changing the order of one or more columns.

N/A

Your Environment

  • Grommet version: 2.33.1
  • Browser Name and version: Chrome
  • Operating System and version (desktop or mobile): Windows 10 22H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Data and friendsFor data components in grommetenhancementA suggestion to add to or change behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions