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
Datatable: sorting doesn't update header checkbox when checkAllToggler used #3919
Comments
…ckbox when checkAllToggler used
Fixed here: martin654@e7445de Created pull request: #3920 |
@tandraschko Thomas, could this be merged into next elite version? Thank you |
i don't manage elite releases, thats up to @mertsincan |
Ok, I see... How do you manage pull requests? Should I do something more to get the fix it into master? |
PRs are for the community version |
Fix for #3919 Datatable - sorting doesn't update header checkbox when…
@mertsincan Would you merge it to elite? |
Thanks a lot, @tandraschko and @martin654 ;) |
1) Environment
I have a p:datatable component with
<p:column selectionMode="multiple" style="width:16px;text-align:center"/>
Some rows has their's checkbox disabled using expression in disabledSelection.
I use pagination, so there are pages where no row can be selected.
I also use sorting on some columns.
2) Expected behavior
When all of the row's checkboxes on current page are disabled on page load, then the header checkbox for toggleAll is disabled. When I use sorting and some of the rows are replaced with rows which are NOT disabled, then the toggleAll checkbox should be updated and become ENABLED.
3) Actual behavior
When all of the row's checkboxes on current page are disabled on page load, then the header checkbox for toggleAll is disabled. When I use sorting and some of the rows are replaced with rows which are NOT disabled, then the toggleAll checkbox is NOT enabled.
4) Steps to reproduce
Will provide if necessary. Fix is simple.
5) Sample XHTML
Will provide if necessary. Fix is simple.
6) Sample bean
Will provide if necessary. Fix is simple.
The text was updated successfully, but these errors were encountered: