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.

How to retrieve formatted text of a grid cell

Thread ID:

Created:

Updated:

Platform:

Replies:

29405 May 24,2005 11:15 PM May 25,2005 04:09 AM Windows Forms 1
loading
Tags: GridControl
CamThach
Asked On May 24, 2005 11:15 PM

Hi Clay, I select values from the database and display them in a grid but first I apply formatting to the values. So from the database I may get the value 5236.2389 but the grid may display $5236.24 due to my formatting. What I want to do is retrieve the value that is displayed in the grid ($5236.24). All efforts so far of trying to access the data either from the dataset or the datagrid will yield the 5236.2389 value and not the formatted value. Thanks in advance.

Administrator [Syncfusion]
Replied On May 25, 2005 04:09 AM

Try: string formattedText = this.grid[row, col].FormattedText;

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.

;