primefaces / primefaces/primereact

DataTable lazy option Multiple selection button not working

Open
#2,398 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Pending Review
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

[x] bug report

DataTable Selection
https://primefaces.org/primereact/showcase/#/datatable/selection

Hooks Source demo
https://codesandbox.io/s/7pmt4

Checkbox-Only Selection / Checkbox Problem
lazy={true} when the option is activated. selection all button does not work
It works fine in primereact 6.5.1, but not in later versions.

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.

Research direction

Start with the DataTable Selection showcase and the linked Hooks CodeSandbox, reproducing the checkbox-only selection case with lazy={true}. Compare the behavior with PrimeReact 6.5.1 and later versions. Done means the selection-all button works in the lazy DataTable configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.