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.
Please let me know if you need further assistance regarding this issue.
This issue has been resolved by the latest service release.
Thanks Matt
I replicated this issue and will bring it to the attention of the developers.
I will create a private case and email you shortly.
Could the setting of the internal ValueEditor.InSyncTextWithValueProperty be an issue here? This property seems to be synchronizing Value and Text property of the xamTextEditor and possibly resetting both Value/Text properties in the process.
This issue happens only if first thing user performs is to try adding a new record and in first cell he enters just one character.
Thanks,