I was wondering if anyone could point me into the right direction with DataGrids.
- I'm trying to position the new row at the top of the grid
- When the user clicks a cell all cells in the row move into an editable state.
Cheers
I was wondering if anyone could point me into the right direction with DataGrids.
Cheers
Check this out for single click editing: http://wpf.codeplex.com/wikipage?title=Single-Click%20Editing
And this for New row formatting: http://blogs.msdn.com/b/vinsibal/archive/2008/11/05/wpf-datagrid-new-item-template-sample.aspx
I think positioning a new row on top might not be possible as the new item row is not part of the DataGrid's control template. Haven't given it a try though.