-
Notifications
You must be signed in to change notification settings - Fork 1.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
Dynamically disable checkbox/selection in Table #324
Comments
Aside, in PrimeFaces, this is handled by
|
Hello, I would like to know if this feature will be added to any of the milestones soon? |
may I ask is this issue still developing? |
Same here |
still going on? |
wow, still not there? |
@cagataycivici Is this going to be fixed ever? |
I've been able to use this hack as a work around. https://stackblitz.com/edit/ky1gjk?file=src%2FApp.vue By adding a directive to the :rowClass="disableRow" to a function that return 'p-disabled' if you want that row disabled. |
@mr83-uw Bless your soul child 🙏 - worked like a charm! |
@cagataycivici I think that this functionality is a must-have and you need to implement it sooner. Otherwise selection process would be a nightmare for the developers that use primevue. |
Issue tracker is used for defects only as part of our commitment to quality and continuous improvement in all areas. Enhancements are collected as valuable community feedback and managed internally so moving this enhancement ticket to our internal project management backlog. |
This does not work as it completly disable the whole row and not just the checkbox. In my case I also have an Action column with some buttons (for example pencil icon that edits the record). I only want to disable the checkbox and not the whole row. |
@1Map I have made a demo where the checkbox alone is disabled. This makes the action buttons work as per your use case. |
You can add a css class to the column.
|
Same as the disabledSelection as in PrimeFaces.
The text was updated successfully, but these errors were encountered: