This is a migrated thread and some comments may be shown as answers.

Angular 8 Remove grouping header title

1 Answer 653 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Perfect0
Top achievements
Rank 1
Perfect0 asked on 08 Dec 2020, 03:21 PM

I do not want to display Section/Group name on each row. As in this example:

Type Name : Lifecycle

So, instead of Type Name : Lifecycle, I just want to display Lifecycle.

Please help. I am using Angular 8 so prefer not to use jquery if possible.

 

 

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 09 Dec 2020, 12:57 AM

Hi Nick,

In order to show the Cell Value and hide the Column Title from the Kendo UI Grid Group Header, use the GroupHeaderTemplateDirective to show the value for each column. For example:

<kendo-grid-column field="ProductName">
  <ng-template kendoGridGroupHeaderTemplate let-value="value">
    {{ value }}
  </ng-template>
</kendo-grid-column>

In this StackBlitz example, the Kendo UI Grid Group Header shows the value without the field.

I hope this helps. Please let me know if I can further assist you.

Regards,
Hetali
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Perfect0
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or