开发者

WPF DataGrid: edit all cells, new row position, click once to edit

I was wondering if anyone could point me into the right direction with DataGrids.

  1. I'm trying to position the new row at the top of the grid
  2. When the user clicks a ce开发者_如何转开发ll all cells in the row move into an editable state.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜