Cell text alignment

3 posts, 1 answers
  1. Jens
    Jens avatar
    19 posts
    Member since:
    Aug 2014

    Posted 11 Sep 2015 Link to this post

    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. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 12 Sep 2015 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jens
    Jens avatar
    19 posts
    Member since:
    Aug 2014

    Posted 14 Sep 2015 Link to this post

    Beautiful,

    Thanks!

Back to Top