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

How to apply GroupFooterTemplate style?

2 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaanus
Top achievements
Rank 1
Jaanus asked on 30 Jun 2018, 05:39 PM

It is easy to add style to grid column cells with https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/columns.attributes

How can I style the groupFooterTemplate?

Example here:

https://dojo.telerik.com/oYoVOjAq/3

2 Answers, 1 is accepted

Sort by
0
Jaanus
Top achievements
Rank 1
answered on 02 Jul 2018, 06:51 PM

To be more exact, I want to float the numbers to right, I added relevant CSS, but it breaks the grid.

https://dojo.telerik.com/oYoVOjAq/5

0
Viktor Tachev
Telerik team
answered on 03 Jul 2018, 10:36 AM
Hi Jaanus,

Note that when using float for an element this will affect the position of the elements following it. Furthermore, using float for a table cell is not recommended as this will likely break the layout of the table. 

In order to align the text to the right I would recommend using the text-align property. Check out the updated dojo below for reference.



Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Jaanus
Top achievements
Rank 1
Answers by
Jaanus
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or