4
Reply

Datagrids with in-place-editting and various controls inside?

S4E

S4E

Oct 19 2004 3:55 AM
2.6k
I was thinking of implementing 'in-place-editting' within the cells of a datagrid, which would have two columns, one representing the PropertyName and the other for its value e.g. 'Car Brand' -> Mercedes 'Colour' -> Red Capacity -> 1900 Taxed -> Yes. However, I want to use various control in the 'values' column, like a combobox for the Colour Row, edit box for the 'car brand' row, a CheckBox for the 'taxed' row etc. (Perhaps all sorts of control will be used in the end, from dateTime to CheckBoxes.) Can anyone suggest how I might go about doing this sort of thing?

Answers (4)