DataGrid - Show ComboBoxes etc. when the Row gets into editing mode

Dec 9, 2008 at 2:54 PM
Hi all,

I would like to show all the editors for the Row as soon as the Row gets into editing mode. At the moment, you don't see the editor until you've actually selected the Cell. Can anyone help me with this?
Dec 18, 2008 at 8:08 PM
There isn't a super easy solution for this as the DataGrid has a concept of cell editing and row editing.  If you don't need the cell/row edit transaction functionality, then it's probably easier to use a ListView and implement IECV.  I'm guessing that you would rather not use a ListView so I think what you can do is listen to the beginningedit and celleditinending events and set all the cells to editmode and also make sure to cancel cell commits when you are still editing the row.  There are quite a few moving parts there so there may be other things you will have to consider, but it's a starting point.