Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sk on Dec 15, 2008 10:35
open dhtmlx forum
grid combo_filter with checkbox

Hi,
I need a combo_filter with checkbox in the header of the grid. Users should be able to select multiple values to filter the column...
Is it possible to do?
Sorry for doubleposting, email address was wrong.
Thanks again!
Answer posted by Support on Dec 16, 2008 02:31
There is no such ready to use functionality.
Technically you can create any custom input inside the header similar to next

grid.attachHeader("a,<div id='my_filter'></div>,c");
...
grid.init();

var combo = new dhtmlXCombo("my_filter","",100,"checkbox");
combo.onChange(function(){
     grid.filterBy(...any kind of rules here...);
})