New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Aligning a Numeric Column to the Right


Product Progress® Telerik® UI for ASP.NET MVC Grid


How can I align a numeric column in the Telerik UI for ASP.NET MVC Grid?


Add a custom class for the needed columns. Apply the appropriate styles using the class name selector.

<column field="UnitPrice" title="Unit Price" html-attributes='new Dictionary<string, object>{ ["class"] = "numericColumn" }'/>

    .numericColumn {
        text-align: right;

More ASP.NET MVC Grid Resources

See Also

In this article