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.
ADAdministrator Syncfusion Team October 28, 2003 05:36 PM
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.