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

Alignment of text in group footers

3 Answers 154 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 11 May 2015, 08:42 AM

Hello,

In one of my grid views, I have group footers. The aggregate functions values displayed in the group footer should be horizontally centered, as the columns data.

I'm using the Office2013 theme.

How can I do this?

 

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 12 May 2015, 08:24 AM
Hello,

You can try applying the following style:
<Style TargetType="telerik:GridViewGroupFooterCell" BasedOn="{StaticResource GridViewGroupFooterCellStyle}">
    <Setter Property="HorizontalContentAlignment" Value="Center"/>
</Style>

How does it work for you?

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 12 May 2015, 08:33 AM

Hi Dimitrina,

I've already tried this, but it doesn't work, at least with the Office2013 theme.

Please see the attched screen shot.​

0
Dimitrina
Telerik team
answered on 13 May 2015, 01:33 PM
Hi,

I am afraid this turns out to be a bug with the Office2013 Theme. You can follow its progress in the feedback portal: Column and Group footer cell content is not correctly aligned horizontally (Office2013 theme only).

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dimitrina
Telerik team
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or