I have a XamDataGrid, which I'm trying to bind to a BindingList collection object. When I set AutoGenerateColumns to true, it shows all the rows and columns, but when I set it to false and define columns using Field or UnboundField, It just shows blank rows. I'm sure, I'm binidng each column to the correct field name inside the BindingList object.
I'm using WPF MVVM architecture!
Wondering, if someone faced simillar issue before?
Cheers,Anshuman
Hello Anshuman,
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. It sure helps. But, in my case I did solve it. I think I was making some mistakes in the field settings and as a result nothing was showing up!
Thanks anyway for your post. It will sure help me in the future.
Have a good day.
Cheers,
Anshuman
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I suggest you see this blog:
http://es.infragistics.com/community/blogs/petar_monov/archive/2011/05/13/how-to-define-fieldlayouts-how-fieldlyouts-are-mapped.aspx
where it is explained how to define XamDataGrid’s FiledLayouts. If this doesn’t help you, could you please send me an isolated sample, where the issue is reproduced, so I can investigate it further for you.
Feel free to write me if you have further questions.