Categories | Question details Back To List | ||
Checkbox in the Column Header Hello All, I want a checkbox in the column header which selects all checkbox in that column cells. like we have Select All .Deselct all option. How can i achieve this in code: Answer posted by dhxSupport on Jul 10, 2009 03:19 You can use #master_checkbox header shortcat. Please find more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Custom_content_in_header.htm#grid_ccingrid And sample here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/filtering/pro_filter_num.html Answer posted by Kunal bhatia on Jul 10, 2009 03:39 i got ur reply..but when i apply the code grid.setHeader("A,#master_checkbox,C"); mygrid.attachHeader("1,2,3,#numeric_filter,#master_checkbox,6,7,8"); i have given a label already in my grid but i want a check bo instead of that....a check box is coming by writing HTML checkbox tag in the label but that checkbox is way to large in height and also the select all option is not workin in that ...can u help me in this Answer posted by dhxSupport on Jul 10, 2009 03:49 To use #master_check box you have to include dhtmlxgrid_filter.js file to your page. If some visual problems occurs please send us screen short or sample where we can reproduce this issue. |