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

Decimal cell alignment

Thread ID:





73951 May 27,2008 08:42 AM UTC May 28,2008 12:28 PM UTC WinForms 1
Tags: GridControl
Richard Mitchell
Asked On May 27, 2008 08:42 AM UTC

I'm interested in using a cell as a numerical value that is aligned on the decimal place similar to the html td style="text-align:'.'".

Is there anything available?

Administrator [Syncfusion]
Replied On May 28, 2008 12:28 PM UTC

There is no property setting to manage this requirement, but you can subscribe to the DrawCellDisplayText event and manually align the text there. Here is a minimal sample that does something like this.


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

This page will automatically be redirected to the 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