Hello Hitesh,
The only way to load the customizations to the XamDataGrid is by calling its LoadCustomizations method whit a string or Stream argument. If you have the instance of the XamDataGrid in your view model you can call the method there.
Hope this helps you.
Hi Stefan, Sorry for the late reply.
The problem is still not resolved.
The XamDataGrid instances open as a TabItem in TabControl.
For loading Custamization, With Loaded event as you suggested, with that I am able to get the XamDataGrid instance at my viewmodel, but the problem is how to set back the custamization to view. Means how the view will know that it needs to be releaoded with the new settings set in LoadCusamization which is with ViewModel.
If possible can you please provide me the sample application(MVVM approch), whereon the XamDataGrid is created in each TabItem of Tabcontrol with the Load cusamization feature.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can suggest you use the XamDataGrid’s Loaded event as you use the FieldPositionChanged event in order to send the XamDataGrid to your ViewModel in order to call the LoadCustomizations method. Please let us know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Hi Infragestics team,
Please help me resolving the issue.