Hi,
we are using the grid with AutoGenerateFields=False and creating the columns dynamically with code behind.
The columns will be shown not until DataContext is set. It is possible to show the fieldlayout before DataContext ist set?
sincere regards
Hase
Hello Hase,
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.
Hello,
thank you very much. Finally i solved this problem that way myself. In our case we create a generic list of the appropriate object.
The XamDataGrid uses the type of the underlying data object that you bind to. If you are using a collection, the XamDataGrid can still display generate headers based on the type of the collection, for example :
xamDataGrid1.DataSource = new List<Person>();