Hi - I have a XamDataGrid and I would like to have the following field layout:
| Scenario 1 |
factor1 | factor 2
The two columns are factor1 and factor2, but they need to have a common column header called "Scenario 1."
What is the easiest way to accomplish a layout like this?
Thanks!
Hello,
The easiest way I could think of is setting FieldLayoutSetting AutoGenerateFields property to False then defining a FieldLayout in XamDataGrid’s FieldLayouts collection and setting Row, Column and ColumnSpan properties for each field in order to achieve the appearance that you want.
I have created a sample application that demonstrates the approach I described above.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support