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

ComboBox Cell - getting the display text

Thread ID:

Created:

Updated:

Platform:

Replies:

70268 Dec 5,2007 12:44 AM UTC Dec 5,2007 06:25 PM UTC Windows Forms 3
loading
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.

Thanks,
Julie


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

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

Thanks.


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.



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.

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

;