Change cell in DataGrid to ComboBox?

Jun 10, 2009 at 5:52 PM

There's a situation where, depending on a business rule, we would need a textbox cell (in edit mode) in a datagrid column to 'switch' to be a ComboBox.

Is this possible? The column needs to be defined as a regular datagrid column, but if a certain value is present, then the cell needs to change to a ComboBox instead of free-text entry.



Jun 18, 2009 at 3:45 PM


Jun 19, 2009 at 12:26 PM

Sir, I am no expert. But is it possible to write a trigger on the value field of the cell content and then change the cell style of column style ?

- B