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. Image for the cookie policy date

How to retrieve formatted text of a grid cell

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.

1 Reply

AD Administrator Syncfusion Team May 25, 2005 08:09 AM UTC

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

Loader.
Up arrow icon