Adding buttons to the kendo-grid-group-panel

2 posts, 1 answers
  1. David
    David avatar
    1 posts
    Member since:
    Sep 2020

    Posted 13 Oct Link to this post

    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
  2. Answer
    Martin avatar
    253 posts

    Posted 15 Oct Link to this post

    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.

    Progress Telerik

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

Back to Top