Skip to content

enableGrouping not working on table level #4809

@yotamberk

Description

@yotamberk

Describe the bug

Defining enableGrouping: false on table options doesn't do anything.

I want to default all columns to disable grouping and only enabling grouping when enableGrouping: true is defined in column.

Your minimal, reproducible example

https://codesandbox.io/s/busy-kirch-f9prci?file=/src/main.tsx

Steps to reproduce

I defined the table options with enableGrouping: false and the column I want to allow grouping with enableGrouping: true

Expected behavior

Only the the enabled column has grouping enabled.

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

all

react-table version

8.8.2

TypeScript version

No response

Additional context

No response

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions