This is template code:
<kendo-grid
[data]="gridView"
[groupable]="true"
[hideHeader]="true"
> ... </kendo-grid>This is code from component:
export class MyComponent {
data: any[] = [
{
id: crypto.randomUUID(),
name: 'Emma Thompson',
group: 'Team A',
},
{
id: crypto.randomUUID(),
name: 'Oliver Smith',
group: 'Team B',
},
{
id: crypto.randomUUID(),
name: 'Anna Brown',
group: 'Team A',
},
];
group: GroupDescriptor[] = [{ field: 'group', dir: 'asc' }];
get gridView() {
return process(this.data, {
group: this.group,
});
}
}This is output:
Question is, how can I customize this label so that it displays text that I want? I have tried setting it programatically, but as soon as I collapse/expand top group, seems like all other groups reset label back to this default one?
