Hello,
I bound a real-time ticking collection to xamdatagrid's datasource. Also, the grid is editable. The problem is sometimes while the user is editing a cell, an update may just come in and change the value of the cell even though the user is still in edit mode within that cell! Value entered by the user is just lost in the process and I wanted to know if there is a way to handle this scenario gracefully.
In the ideal case, User's value should take precedence over the value coming in from the ticking source.
Also, I've been trying to find a callback event on XamDataGrid which will tell me if the underlying datasource has been updated from an external source and if the user happens to be in EDIT mode while entering a value in one of the cells. perhaps i can use a class similar to "RecordUpdatingAction" and discard the changes coming in from the external source and only preserve the changes made by the user.
HELP!
Hello Gaurav,
I have updated you on the reffered forum thread.
Hi Stefan,
Thank you for the answer. The solution which you provided is very close to what I'm looking for. Incidentally, there is another similar post on this topic which is active right now >> http://es.infragistics.com/community/forums/p/80121/405991.aspx#405991
Perhaps you can have a look at my post in that thread and help me (and the other user) in fetching the uncommitted value which the user entered recently from within DataValueChanged event callback.
Thanks.
Thank you for your post. I have been looking into it and I can suggest you see this forum thread:
http://es.infragistics.com/community/forums/t/52025.aspx
where a similar issue is discussed. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.