-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
DetailsList onRenderCheckbox is not effective for group headers #13144
Comments
@breeswish Thanks for reaching out to us. I see the behavior you're describing. It's not just This is low priority for us as we’re currently focused on larger work items focused on performance and coherence across the library (see pinned issue on the repo). I'm going to resolve this as won’t fix but when we schedule future work on this component, we may rethink this behavior so thank you for giving us feedback - we appreciate it! |
@aneeshack4 Thanks! Currently I copied the Considering that it is low priority for your team, I would like to propose a PR by my own to help you fix it. I will add a property to |
Someone actually just added a prop /**
* If provided, can be used to render a custom checkbox in the group headers.
*/
onRenderGroupHeaderCheckbox?: IRenderFunction<IGroupHeaderCheckboxProps>; Thanks for offering to help with this! |
@ecraig12345 Thanks for the information. I have opened a PR #13178 to implement this feature accordingly. |
If anyone is still stuck on this issue, it is possible to provide a custom checkbox to a group header. |
Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Environment Information
Please provide a reproduction of the bug in a codepen:
I simply modified the DetailsList Grouped example, adding
onRenderCheckbox
:https://codepen.io/breezewish/pen/ZEbjxOR
Actual behavior:
Group headers are not rendered by
onRenderCheckbox
, like below:Expected behavior:
Expect all checkboxes are rendered by
onRenderCheckbox
.Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No) Yes if I have time
Requested priority: (Blocking, High, Normal, Low) Normal
Products/sites affected: (if applicable)
The text was updated successfully, but these errors were encountered: