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.
Unfortunately, activation email could not send to your email. Please try again.

Decimal cell alignment

Thread ID:

Created:

Updated:

Platform:

Replies:

73951 May 27,2008 04:42 AM May 28,2008 08:28 AM Windows Forms 1
loading
Tags: GridControl
Richard Mitchell
Asked On May 27, 2008 04:42 AM

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 08:28 AM

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.
http://www.syncfusion.com/support/user/uploads/DecimalAlignment_8555d60e.zip


CONFIRMATION

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.

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.

;