Header filter for checkbox

There is a way to filter a column of checkbox value using header filter?

Thank you!

Yes, you may add a custom element to your header.
Please read the tutorial here http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:header_extra#clear_button_in_header

Thank you, very helpful!

Now i’ve a different trouble. I’ve added this code to handle the header for the checkbox:

[code]function checkbox_filter(tag,index,data)
var grid = this;
var stato = “tutti”;
var valore = “”;
switch (stato)
case “tutti”:stato =“1”;valore=1;break;
case “1”:stato =“0”;valore=0;break;
case “0”:stato = “tutti”;valore="";break;

				document.getElementById('checkbox_filter').value = stato;

Now it works! There is a way to make a multi-column search?
For example: all the rows with the 1st column with the checkbox checked and the 2nd column with a text that start with “a”.

Usually the header filter works fine and if you remove a filter recalculate the grid with the other filters present. How to integrate my code to do the same thing?
Using Grid.filterBy with preserve = true is not the right way.

You may have sense to use a second parameter of filterBy() method as a function http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:filtering#filtering_api

Also check some additional information about the filtering with several conditions here http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:filtering#filtering_api