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

Related Table display value and cell type compliance

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.

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon