Checkbox in header should selectall checkboxes in the column?

Tags: #<Tag:0x00007efc65556b18>

When a checkbox in the col0 is clicked all the checkboxes in that column should be checked. How to achieve this?

Hi @hbhattiprolu

You can call setDataAtCell. Here’s an example http://jsfiddle.net/handsoncode/khrruv22/
Please note that if you have many rows this can be slow.

Hi, Thanks for the response but this example does not have the checkbox in the header. Is it possible to have checkbox in the header like beside car model? and checking that will check all the checkboxes below it?

Hi @hbhattiprolu

Unfortunately, we do not have a similar example with checking all checkboxes at once but here’s a checkbox in a header http://jsfiddle.net/handsoncode/x555opwz/