Hi,
In XamDataGrid Field chooser box shows empty, I am passing dynamic value so each and every time different records shows.
If i am pass static value means field choose box shows whatever column name in grid that will show,
Could you please help field chooser without empty while i am passing dynamic values.
Thanks,
Vishnuvarthan
Hello Sandeep,
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 Stefen,
That is what I was looking for . Perfect solution, thank you very much
I have been looking into your sample and I can say that the behavior you have is expected, because the FieldChooser window is a separate window and the binding you use is not working for the Fields inside it. There were Binding errors in the Output. I modified the sample, so now it works correctly. Basically I bound the TextBlocks's Text directly to the DataContext of the XamDataGRid, instead to Labels. This way the Binding works correctly for the Fields in the XamDataGrid and FieldChooser. Please let me know if you need further clarifications on this matter.
Looking forward for your reply.
Thank you for your reply. I am attaching a sample project which will show you the exact scenario.
Please let me know if I need to change the binding process in order to get the field chooser working.
Thanks and Regards
Sandeep
I have been looking into your question, but I wasn't able to reproduce your behavior, so could you please send us a sample project where this is reproduced, so we can investigate it further for you.