4
Answers

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

S4E

S4E

20y
2.6k
1
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)