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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Related Table display value and cell type compliance

Thread ID:





8241 Oct 28,2003 10:06 PM UTC Oct 28,2003 10:36 PM UTC WinForms 1
Tags: GridControl
Asked On October 28, 2003 10:06 PM UTC

Right now I have a dataset that contains a lookup table for a status. I want to display the status as the display member. It is only displayed properly if the cell type is a ComboBox, any other cell type and the statusID is displayed. This cell is for read only purposes and would be best as static or textbox. Attached is the sample code that sets up the style info for the column.

Administrator [Syncfusion]
Replied On October 28, 2003 10:36 PM UTC

Currently, the only celltype that supports DisplayMember/ValueMember is ComboBox. But you can easily hide the buttons and avoid showing the dropdown so the cell will look like a TextBox cell by setting the style's ShowButtons and ReadOnly properties. You can see sample code in Syncfusion\Essential Suite\Grid\Samples\CellTypes\ComboboxCells.


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

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

Live Chat Icon For mobile
Live Chat Icon