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. Image for the cookie policy date

GridNumericColumn horizontal alignment


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 ?

1 Reply

SR Sivakumar R Syncfusion Team January 21, 2016 04:23 PM UTC

Hi Silvio,

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

<syncfusion:GridNumericColumn HeaderText="Quantity"




Live Chat Icon For mobile
Up arrow icon