vue-good-table
vue-good-table copied to clipboard
Disable checkbox of specific rows
Issue Type (delete the irrelevant ones) Question
Specs version - 2.21.3
Browser - Chrome
Expected Behavior Can I disable checkbox of some rows based on a particular condition
Hi, you can add the property vgtDisabled in your rows data.
I hope this helps.
vgtDisabled
I have added vgtDisabled attribute to the row but it still gives check and uncheck on that row. Help me :(
Hi, it's working fine for me. Do you have any repo where we could observe this ?
And maybe which browser you're using ?
@mp3000mp
Can you show your example with vgtDisabled, I have the same problem as @origin2821
It works for me too. Makes the Checkbox Disabled, but SELECT all checkbox still marks it as SELECTED.
That's a BUG I would stay.
I don't think there is a row attribute to make it NOT selectable by any means.
Example were vgtDisabled works, but is still selected when we use selectAll: https://jsfiddle.net/4wt7oudg/
vgtDisabled (but vgtSelected works) does not work also for me
It seems vgtDisabled is not working. Did anyone else find a fix?
vgtDisabled is not working
Additionally, if you set the property vgtDisabled: true, even though the checkbox is disabled, if you click outside the checkbox but inside its containing cell the checkbox will still be able to select or deselect. When will you solve this?