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
I have 6 columns for Measures.
In Columns i have time dimension, expanded from source code to month (all - year - quarter - month)
and filtering to june 2010 and june 2011 (i want to compare data from this year and previous year).
In Rows i have 2 dimension. First have 3 levels and second have 2 levels all expanded form source code.
And i have one filter.
And i have hide all totals columns.
Here is screenshot after pivot command.