Version

Compact Layout (xamPivotGrid)

When data has multiple hierarchy levels and you need to drill down into a single dimension’s hierarchy tree, the headers can overwhelm the visible area of the xamPivotGrid™ control. In this situation, it may be difficult for the user to use the information the control provides effectively.

xamPG 6 7 2010 5 50 08 PM.png

The CompactLayout feature of the xamPivotGrid effectively truncates the tree structure of the headers and frees the space for important information to appear.

xamPG 6 7 2010 5 56 47 PM.png

To put the row hierarchy tree in CompactLayout mode, you need to set the AllowCompactLayout property of the grid to true.

In XAML:

        <igPivot:XamPivotGrid
                AllowCompactLayout="True"
                DataSource="{StaticResource Source}" />

This mode works especially well with date/time hierarchies.

xamPG compact 2 en.png

In addition to allowing the compact layout mode, you can also force the grid to show the total headers on top. In some situations, that might help the user to comprehend the data hierarchies better.

xamPG 6 7 2010 6 05 37 PM.png

In XAML:

        <igPivot:XamPivotGrid DataSource="{StaticResource DataSource}"
                              AllowCompactLayout="True"
                              ParentInFront="True"/>