-
Hi Everyone, We have a requirement where we need to disable all the checkbox, including the 'select all' checkbox present in the header. Any suggestion on how we can do it? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @shivamdz The easiest way would be to use both the useRowDisableSelection plugin hook and your own hook. --> codeSandbox The most performant way would be to copy the useRowDisableSelection hook and edit it on your side to fit your use case, as this way you would only need to register one custom hook. You can probably reuse parts of the implementation of the codeSandbox above. |
Beta Was this translation helpful? Give feedback.
Hi @shivamdz
The easiest way would be to use both the useRowDisableSelection plugin hook and your own hook. --> codeSandbox
The most performant way would be to copy the useRowDisableSelection hook and edit it on your side to fit your use case, as this way you would only need to register one custom hook. You can probably reuse parts of the implementation of the codeSandbox above.