artplastika
artplastika

Reputation: 1982

Infragistics XamDataGrid special grouping

How can I set field layout to XamDataGrid like this: expected layout

Any ideas are welcome, either by grouping or using master-detail.

Upvotes: 1

Views: 2366

Answers (2)

alhalama
alhalama

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

Frep D-Oronge
Frep D-Oronge

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

Related Questions