Hi, I am trying to create dynamic columns and attach the custom object which has dictionary collection and I would like to display them in the xamdatagrid. I was able to create one with standard datagrid but could not do the same with xamdatagrid. Any resources,links,pointers will help. I have attached the sample that I created with standard datagrid.
Thanks
Raghavendra
Hello,
Thank you for your post.
I have been looking into your issue. I created a short sample application based on your scenario to show you how you can implement the functionality that you want.
In the sample I set the AutoGenerateFields to False and handle the FieldLayoutInitialized event of XamDataGrid to generate the fields dynamically. In the event handler I loop thought the keys in Items, create an unbound fields for each item and add it to the FieldLayout of XamDataGrid.
Please let me know if you need any further assistance on this matter.
I am just checking if there is anything else I can do for you.