Hi
I again tested xamPivotGrid.
I hiding totals in source code:
xamPivotGrid1.LayoutLoaded += (s, args) =>
{
foreach (PivotDataColumn c in xamPivotGrid1.DataColumns)
if (c.IsTotal)
c.IsVisible = false;
}
foreach (PivotDataRow c in xamPivotGrid1.DataRows)
};
I use xamPivotGrid without any styling and displaing ScrollBar is bad. Some columns on end of the table is "hiding" (picture 1 in attachment).
<ig:XamPivotGrid x:Name="xamPivotGrid1" DataSource="{Binding DS}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AllowCompactLayout="False" Foreground="Black" />
Then i press button Pivot (use Pivot Command) and displaing is ok. (picture 2).
Then i again press button Pivot and displaing is ok (picture 3).
Without hiding total columns everithing works fine.
I must set MaxHeight property on XamPivotGrid to 300. Without setting MaxHeight pivoting display without scrollBars (picture 4).
It is a bug?
Problem with VerticalScrolling (picture 4 ) is my fault. Sorry.
It seems like a bug that appear for specific data. Could you tell me how many columns and rows do you have in view and how many of them do you try to hide.
RegardsTodor