How to align groupHeaderColumnTemplate to the right?

1 Answer 13 Views
Grid
Jaanus
Top achievements
Rank 1
Jaanus asked on 17 Mar 2022, 09:59 AM

This is my example https://dojo.telerik.com/uxopADoB

 

I am able to align everything else to the right, but groupHeaderColumnTemplate. How can I do it?

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 22 Mar 2022, 07:32 AM

Hello Jaanus,

an attributes property for the group header is not exposed and I recommend using the following CSS rule to align the group header td text to the right:

    <style>
      .k-grouping-row td:nth-child(2) {
        text-align: right;
      }
    <style>

Updated Dojo demo: https://dojo.telerik.com/UhuBIdoK

Let me know if you have any questions.

Regards,
Nikolay
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
Jaanus
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or