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

Modifying the group header template (full row not just cell contents)

3 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ara
Top achievements
Rank 1
Ara asked on 20 Apr 2020, 06:13 PM

Hey there,

Attached is screenshot of what I'm looking to accomplish, but the gist of it is that I'd like to be able to customize the groupHeaderTemplate in order to place content in the other cells that are available.

I experimented with `groupHeaderColumnTemplate` as well, but that only works to manipulate the group header template for for the column being grouped.

Any pointers would be greatly appreciated :)

Thanks

3 Answers, 1 is accepted

Sort by
0
Ara
Top achievements
Rank 1
answered on 20 Apr 2020, 06:18 PM

Also I have looked at master detail template, but that view isn't ideal for our case.

I also considered a footer template, but then summary data we're trying to display for the group wouldn't be available when the group is collapsed.

0
Alex Hajigeorgieva
Telerik team
answered on 22 Apr 2020, 11:58 AM

Hi, Ara,

It seems to me that you can achieve the same look and feel if you provide a groupHeaderColumnTemplate only for the last two columns and a group header template for the rest if required. If a groupHeaderTemplate is not specified the built-in one is displayed:

https://dojo.telerik.com/@bubblemaster/UMeGAxUh

Let me know what you think.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Ara
Top achievements
Rank 1
answered on 23 Apr 2020, 06:26 AM
Alex, thank you so much! That did it! :)
Tags
Grid
Asked by
Ara
Top achievements
Rank 1
Answers by
Ara
Top achievements
Rank 1
Alex Hajigeorgieva
Telerik team
Share this question
or