Hi,
I am trying to update the ViewModel on Cell PropertyChanged rather then on LostFocus and facing an issue where cell value is automatically cleared first time. The steps to reproduce are...
1) Run the attached Project.
2) Try to add New Row and add only 1 character in FirstName Column (see attached snapshot "InfragisticsOnCellChanged1.png")
3) Now press TAB and go to LastName column, Here you can see that the character typed-in the FirstName column is gone now.
Could you please look into this issue and let me know any workaround on this.
Many Thanks,
Sandeep
HI,
Change the XamDataGrid's UpdateMode Property to ONCellChange.
Here a link regarding this property: http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v13.1~Infragistics.Windows.DataPresenter.UpdateMode.html
Hi Matt,
Thanks for your reply. I tried UpdateMode-OnCellChanged and it behave same as UpdateSourceTrigger=PropertyChanged in my existing sample project. But the problem related to the lost character still persists.
To reproduce the scenario you can use the attached project in my previous post. I also attached 2 snapshots along with the project to illustrate the behaviour. I will appreciate if you can please change my sample project in a way that can resolve this lost character issue.