Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

DataTable changes data in another row when you changes something in a row #8079

Description

@mstuij

Describe the bug

I have a DataTable with a column chooser dialog.

When you select/unselect a column in the Chooser Dialog there will be at random times another column (so another row) checked/unchecked.

Reproducer

https://stackblitz.com/edit/vitejs-vite-hrpqxvre

System Information

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 20.19.1 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    primereact: latest => 10.9.5 
    react: ^19.1.0 => 19.1.0

Steps to reproduce the behavior

  1. Click the column chooser dialog
  2. In the column chooser dialog select or unselect columns

Expected behavior

You should expect that only the row where you click/unclick the column changes and not other rows

The problem is that see that there are cascading changes.

Metadata

Metadata

Assignees

Labels

Resolution: WorkaroundIssue or pull request contains a workaround. It needs to be reviewed further by Core TeamType: BugIssue contains a defect related to a specific component.

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions