TIWDBAdvWebGrid and combobox

Hello,


A column of the grid is of type ColumnType ctDynCombo.

The texts are included in the ComboItems
The values ​​are included in ComboValues ​​that correspond to those stored in the datafield.

Is it possible to show just the corresponding content of the ComboItems, without allowing to modificate it?

Regards

Jose A.


I'm not sure how you'd want that to work? It would be allowed to dropdown the combobox but not select from it?

Hello,


I meant to not allow it neither to dropdown nor to modify anything from it.

Why not use a different column type than ctDynCombo then?


I can solve it otherwise.
I would like to know if I can block the combo in some conditions.


The reason is I want to show, according to the value stored in the field of database the corresponding ComboItems. To do this without options to modify the grid.


Something like:

ColumnType :
= ctDynEdit  (allowed to change) 
 ColumnType := ctNormal (not allowed to change)

ColumType  := CtDynCombo = (allowed to change)
(an option like this)
ColumType := ctCombo (not allowed to change)