Checkboxes still render as editable in read only table

Tags: #<Tag:0x00007fee37d642f0>

Hello,

I have the requirement that checkboxes that are inside a read only table should also render as disabled.
Currently when setting the table (or the cell itself) to readOnly: true the checkboxes still appear to be editable (event if they are not).

I prepared a small example here, where you can clearly see that the checkboxes still look editable.
https://jsfiddle.net/eL8aq5sd/

Is there a way to define that the cell with type: checkbox also gets rendered as disabled?

Thanks in advance.

Ben

Hi @ben

Thank you for reporting this. Indeed, it might looks misleading. I think it’s worth of changing it. For now I can propose something like that, with custom styling (I believe it should look like this by default when readOnly option is set up):

https://jsfiddle.net/aszymanski/y1czume4/

1 Like