-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TreeTable: selected rows are not highlighted #5370
Comments
It looks like it TreeTable that is intentional as its the same way in PrimeVue: https://primevue.org/treetable/#checkbox_row_selection It looks like Checkbox mode intentionally does not highlight the rows but the other modes like "single" selection do. |
@melloware Thanks you for your quick response. In the DataTable component, the checkbox mode highlights the selected rows, see https://codesandbox.io/p/sandbox/primereact-demo-dsrfsm?file=%2Fsrc%2Findex.js It's not intuitive for users because the user will not know why when it's a simple table the rows are highlighted and when it's a tree table the rows are not highlighted. |
Yep I marked it for "discussion" for PrimeTek since it affects other PrimeLibs. |
Interesting the PrimeNG TreeTable does highlight: https://primeng.org/treetable#checkbox |
v10.3.0 broke this fix: the selected rows using checkbox are not highlighted again |
Fix primefaces#5556 Fix primefaces#5487 Fix primefaces#5457 Fix primefaces#5370 Fix primefaces#4051
Describe the bug
For components homogeneities, the rows selected using checkbox selection should be highlighted like DataTable component.
Reproducer
https://codesandbox.io/p/sandbox/primereact-demo-2fyn7s?file=%2Fsrc%2Findex.js
PrimeReact version
10.0.9
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: