Reputation: 1982
How can I set field layout to XamDataGrid like this:
Any ideas are welcome, either by grouping or using master-detail.
Upvotes: 1
Views: 2366
Reputation: 3228
You can group the grid by the Consumer field. To get the headers on top only, set HeaderPlacementInGroupBy to OnTopOnly on the FieldLayoutSettings:
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings AutoGenerateFields="False" HeaderPlacementInGroupBy="OnTopOnly"/>
Upvotes: 1
Reputation: 2646
The grid should look this way if you drag the 'Consumer' field into the group by area. Is this what what you mean?
Upvotes: 0