I have a table which content depends on option choosen in the dropdown. I need to apply grid functionality select all (checkbox in table head). Important thing: devices which have property shared: false can't be selected - checkbox next to device name needs to be disabled.
Devices which have icon, share-alt like 'Development A..' can't be checked, their checkbox needs to be disabled. Is possible to disable this checkbox, and that select all checkbox doesn't affect on disabled checkbox? I didn't find possibility to add property 'disabled'.
So if there is no option to add word 'disabled' and resolve this problem on easier way, please take a look on this code:
Here the problem is when I select Offline devices option in the dropdown button and click select all checkbox, and then select All devices option in the dropdown, all devices will be selected - device which checkbox has class disabled also
Maybe with more devices will be more bugs.
I'm also open for some new suggestions how to resolve this.
Best regards,
Kristina