We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridNumericColumn horizontal alignment

Thread ID:





121754 Jan 21,2016 04:07 PM UTC Jan 21,2016 04:23 PM UTC WPF 1
Tags: SfDataGrid
Asked On January 21, 2016 04:07 PM UTC


is it possible to set the HorizontalAlignment of the GridNumericColumn column ?

By default GridTextColumn seems to have Left alignment, while HorizontalAlignment  seems to have rigth horizontal alignment.
If you have in a datagrid some text columns mixed with some numeric ones it looks not very nice.
I would like to set the horizontal alignment of numeric columns to left as Text ones, but I'm not able to find a suitable property to do it.
Can you help me ?

Sivakumar R [Syncfusion]
Replied On January 21, 2016 04:23 PM UTC

Hi Silvio,

You can achieve your requirement by setting GridNumericColumn.TextAlignment to Left.

<syncfusion:GridNumericColumn HeaderText="Quantity"





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon