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

Cell text alignment

2 Answers 386 Views
PivotGrid and PivotFieldList
This is a migrated thread and some comments may be shown as answers.
Jens
Top achievements
Rank 1
Jens asked on 11 Sep 2015, 03:17 PM

Hey!

How to align the values in the pivot grid cells?
The text seems to be centered by default but i found no obvious property to change this behaviour. I need right alignment.

In the Silverlight version of this control they seem to be aligned to the right by default.

Cheers,

Jens

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Sep 2015, 06:34 AM
Hello Jens,

Thank you for writing.

You can use the CellFormatting event and set the TextAlignment property of the CellElement in it. More information on how to customize cells appearance is available here: http://www.telerik.com/help/winforms/pivotgrid-formatting-appearance.html.

I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jens
Top achievements
Rank 1
answered on 14 Sep 2015, 11:12 AM

Beautiful,

Thanks!

Tags
PivotGrid and PivotFieldList
Asked by
Jens
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Jens
Top achievements
Rank 1
Share this question
or