Hi,
Is there any way we can bind a list of Dictionary to the XamDataGrid, such that the Key in the dictionary represents the column name and the Value provides the value for that field.
if possible, can you provide the sample code. we would like to do it through code and not xaml.
Thanks in advance.
Hello deva_kdr,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
I have been looking into your requirement however the XamDataGrid is not designed to work with dictionaries. I can suggest you convert your data to some of the supported data sources as describe in our online documentation:
http://help.infragistics.com/NetAdvantage/WPF/2011.1/CLR4.0/?page=xamDataGrid_Accessing_Data.html
http://help.infragistics.com/Help/NetAdvantage/WPF/2011.1/CLR4.0/html/xamData_About_Data_Binding.html
also if you want I can create a Feature Request on your behalf so such functionality might appear in a future release.
Please let me know if I can assist you any further on the matter.