Csaba Czine

Csaba Czine

  • NA
  • 11
  • 40.9k

DataGrid new item placeholder disappears

May 6 2011 12:53 PM

Hi All!

In my program I use a DataGrid behaviour dicussed in this thread:

http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/187b2b8f-d403-4bf3-97ad-7f93b4385cdf/#62c90dad-4456-4716-a7be-7b90f88df8d1

It works quite fine. I have one problem. If I edit the new row and I leave the DataGrid, but the screen remains visible (or the DataGrid is hided), the edited new row disappears by Cancelling edition, but no new placeholder row appears instead. I would like the new empty row to appear right after Cancelling.

Here you can find a simple program with the described problem.

If you just have an idea, please share it with me!

Csaba


Answers (2)