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

Adding buttons to the kendo-grid-group-panel

1 Answer 723 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 13 Oct 2020, 10:36 AM
I'm looking to build some functionality to ExpandAll and CollapseAll groupings in the grid when there is a grouping in place. I'd want to add a couple of buttons somewhere on the grid to drive this functionality. 

I understand that I can use the kendoGridToolbarTemplate to add a new toolbar, but I don't want to use the real estate. Ideally, I'd like to get something into the kendo-grid-group-panel (the panel that the grouping columns are dragged onto).  Is this possible? - I don't see an ng-template option for this

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 15 Oct 2020, 06:09 AM

Hello David,

I am afraid that there is no built-in option to render custom content in the grouping header of the Grid. As you already explored, a possible way to render a custom button at the top, is to use kendoGridToolbarTemplate.

Also, please explore our built-in header and group header templates. The group header column template can be used as well

I hope this helps.

Regards,
Martin
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or