react-tablereact-table-v6

How to disable checkbox on specific row in react-table checkboxHOC (6.8.6)


I am using react-table 6.8.6, and I want to disable the checkbox on a specific row with react-table using checkboxHOC. Is that possible?


Solution

  • As mentioned in this GitHub issue, you will have to create your own component for the checkbox. The checkbox HOC is an example and is a fairly short piece of code that was meant to be hacked.