I have a XamDataGrid with table data giving a master detail relationship.
Master (Particle):
Fields: Name, Retention Time, Signals => detail
Detail (Signal):
Fields: Integral, Volume, Concentration…
Now the field integral can have different units thus the header must vary accordingly. As the signals are loaded dynamically and even the user can specify his own type of signals, the header label needs to be created on the fly for each record differently.
How can this be done?
Hello Horst,
I recommend reviewing the following blog on how to use the FieldLayoutInitialized event to add fields dynamically.
https://es.infragistics.com/community/blogs/b/blagunas/posts/xamdatagrid-dynamically-create-and-data-bind-columns-with-an-editor-of-your-choice
Let me know if you have any questions.
Hello Michael,
this blog has nothing in common with my question.
I was asking for varying headers of child records. The field names are static the headers(Field.Labels) have to be dynamic.
Regards Horst