Add a checkbox to header

I want to add a checkbox on the CH column header.
So it will check/uncheck all for the column
Do you already have a buildin function
Or I have to write my own?

You can use #master_checkbox

But #master_checkbox is for filter right ?

Nope, it is not a filter ( it uses syntax similar to filters, but works differently )
Adding master checkbox to the column will add checkbox in header , changing state of which will force change of all checkboxes in the same column.

What event is triggered when one clicks on #master_checkbox?

I have captured the “onCheck” event of the grid to take care of some special processing, but it is not called when one clicks on #master_checkbox.

Please check this article viewtopic.php?f=2&t=13429&start=0

Thank you. That helped.

I hope you will consider exposing the onClick event for the master checkbox, as I see that others would be interested in using it.