groupTitleTemplate
Optional. Sets a template to the title of a group
groupTitleTemplate?: (groupName: string, groupItems: object[]) => string;
Example
const treegrid = new dhx.TreeGrid("treegrid_container", {
columns: [
// columns config
],
groupTitleTemplate: (groupName, groupItems) => {
return groupName + "count:" + groupItems.length
}
});
Related sample: TreeGrid. Group data items by a property
Change log:
added in v6.5