How to bind the Active Record to a Model(Model View ViewModel) with the Infragistics XamDataGrid?
Hello,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hi Stefan,
Thanks for your reply.
I have done the Active record by below code in the viewmodel
CurrentPerson = XamGridView.Records[activeIndex];
Hello Pon,
Thank you for your post. I have been looking into it and I can say that you have to set the CurrentPerson Property of the ViewModel to an object from the XamDataGrid's DataSource collection, so this object could become active Record in the XamDataGrid. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Hi,
As you said we can get the Active record from the "CurrentPerson" property in the ViewModel from the same way..How can we passed value of "CurrentPerson" from viewmodel to View and select the record (ie, How to programatically select the record from Viewmodel?)
Thanks,
Pon
Moved to a separate post