Hi,
I have posted the following thread to the xamDataPresenter sub forum, but seems like it's not catching attention from anybody. I hope somebody can read it from here.
http://community.infragistics.com/forums/t/54210.aspx
Regards,
Jason
Finally I have found a solution on my own. Using RowSpan and ColumnSpan property with Unbound field can achieve that. While setting all the "group header field" as UnBoundField with MaxCellHeight=0, now it's looking exactly how I want it to be.
<igDP:XamDataPresenter DataSource="{Binding Path=Rows}"> <igDP:XamDataPresenter.FieldLayoutSettings> <igDP:FieldLayoutSettings AutoArrangeCells="Never" AutoGenerateFields="False"/> </igDP:XamDataPresenter.FieldLayoutSettings> <igDP:XamDataPresenter.FieldLayouts> <igDP:FieldLayout Key="A"> <igDP:FieldLayout.FieldSettings> <igDP:FieldSettings LabelClickAction="SortByOneFieldOnly" /> </igDP:FieldLayout.FieldSettings> <igDP:FieldLayout.Fields> <igDP:UnboundField Name="A" Row="0" Column="2" ColumnSpan="2"> <igDP:Field.Settings> <igDP:FieldSettings CellMaxHeight="0" LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:UnboundField> <igDP:UnboundField Name="B" Row="0" Column="4" ColumnSpan="2"> <igDP:Field.Settings> <igDP:FieldSettings CellMaxHeight="0" LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:UnboundField> <igDP:Field Name="C" RowSpan="2" Column="0" > <igDP:Field.Settings> <igDP:FieldSettings LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:Field> <igDP:Field Name="D" Row="0" Column="1" RowSpan="2"> <igDP:Field.Settings> <igDP:FieldSettings LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:Field> <igDP:Field Name="F" Width="50" Row="1" Column="3"> <igDP:Field.Settings> <igDP:FieldSettings LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:Field> <igDP:Field Name="G" Width="50" Row="1" Column="4"> <igDP:Field.Settings> <igDP:FieldSettings LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:Field> <igDP:Field Name="H" Width="50" Row="1" Column="5"> <igDP:Field.Settings> <igDP:FieldSettings LabelClickAction="SortByMultipleFieldsTriState" /> </igDP:Field.Settings> </igDP:Field> </igDP:FieldLayout.Fields> </igDP:FieldLayout> </igDP:XamDataPresenter.FieldLayouts> </igDP:XamDataPresenter>
Hello,
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.