Srinivas
Srinivas

Reputation: 147

How to handle Multicolumn checkbox in react table?

I have a react table with multiple checkbox columns, if I check one column rest all are getting checked automatically, how to handle that. If I check first column checkbox only if has to be checked (One should not depend on other). Here is my sandbox link https://codesandbox.io/s/tannerlinsley-react-table-row-selection-forked-3gcwm?file=/src/App.js:5923-5930

Upvotes: 1

Views: 799

Answers (1)

Mahipal Reddy
Mahipal Reddy

Reputation: 409

Try removing {...row.getToggleRowSelectedProps()} from line no. 213

Upvotes: 1

Related Questions