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.
Syncfusion Feedback

How to retrieve formatted text of a grid cell

Thread ID:





29405 May 25,2005 03:15 AM UTC May 25,2005 08:09 AM UTC Windows Forms 1
Tags: GridControl
Asked On May 25, 2005 03:15 AM UTC

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

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


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.

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