Hi All,
Could you please help on displaying the check box for each group (group-linked-checkboxes).
I am using below piece of code for the grouping, but able to display group only.
mygrid.setColTypes("ch”); // allowing check boxes for group content data only.
mygrid.groupBy(1);
mygrid.expandAllGroups();
mygrid.customGroupFormat=function(name,count){
return name;
}
Please let me know DHTMLX API to get group check box (group-linked-checkboxes) and to get checked group ids.
Thanks,
Suresh
Olga
November 30, 2010, 2:43pm
#2
Unfortunately dhtmlxGrid doesn’t have group-linked-checkboxes functionality.
Thanks for response…
Added the group check box manually on customgroupformat method of DHTMLX. But on click of the corresponding check box its taking the expand/collapse functionality event. Any one suggest how to control this event on check/uncheck of the check box.
Thanks
Suresh.
Olga
March 23, 2011, 10:39am
#4
You should cancel “onclick” event bubbling on checkbox at grouped row.
would you share how you added a checkbox for a group ?
sematik
December 18, 2013, 4:08pm
#7
You may use the customGroupFormat method.
For example:
mygrid.customGroupFormat = function(text, count){
return text +"<input onclick='(arguments[0]||window.event).cancelBubble=true' type='checkbox'>"
}