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

ComboBox Cell - getting the display text

Thread ID:





70268 Dec 5,2007 12:44 AM UTC Dec 5,2007 06:25 PM UTC WinForms 3
Tags: GridControl
Julie Levy
Asked On December 5, 2007 12:44 AM UTC

Hi -
How do i read the display text (not cell value) of a combobox cell when it is not the current cell? I know that current cell has a ControlText property in it's renderer. I need the same property when the cell isn't the current cell.


Julie Levy
Replied On December 5, 2007 12:45 AM UTC

oops, forgot to mention i'm using the GridControl.


Administrator [Syncfusion]
Replied On December 5, 2007 10:58 AM UTC

Try code such as:

string display = grid[rowIndex, colIndex].FormattedText;

to see if that gives you what you want.

Julie Levy
Replied On December 5, 2007 06:25 PM UTC

Thanks.. that works.
I have a GridStyleInfo object so i was trying style.FormattedText which returned the value of the selected list item, not the display text.
Thanks again.


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