Skip to main content

groupTitleTemplate

sets a template to the title of a group

groupTitleTemplate?: (groupName: string, groupItems: IDataItem[]) => string;

Example

var treegrid = new dhx.TreeGrid("treegrid_container", {    columns: [// columns config],    groupTitleTemplate: function(groupName, groupItems){ /*!*/        return groupName + "count:" + groupItems.length /*!*/    }});

Change log:

added in v6.5