Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Bad SrollBars
posted

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) 

                { 

                    if (c.IsTotal) 

                    { 

                        c.IsVisible = false; 

                    } 

                }

            };

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?

 

XamPivotGrid.zip