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

How to retrieve formatted text of a grid cell

Thread ID:

Created:

Updated:

Platform:

Replies:

29404 May 25,2005 03:14 AM UTC May 25,2005 08:09 AM UTC WinForms 1
loading
Tags: GridControl
CamThach
Asked On May 25, 2005 03:14 AM UTC

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 08:09 AM UTC

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.

Please sign in to access our forum

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

;