I linked a datasource table to the control grid:
and all the data from the table are shown successfuly exept the "Type" column that I assigned to a "RepositoryItemLookupEdit" to choose the types from a list. As seen in the screenshot, the displayed member and the value member properties are set correctly. After selecting a type from the RepositoryItemLookupEdit, the selected one remains shown on the grid (when selecting another cell). So my problem is that I want to display the initial values in the "Type" column.
You need to handle the
CustomDisplayText
of the RepositoryItemIf your 'Type' column is bound to a dataobject such as...
You need to populate the
DisplayText
of the cell with the value of the cell.