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
hiding totals
posted

Hi

I study new samples of 2011.1 but there are no sample about hiding totals and subtotals columns or rows? is this function on 2011.1 release? and if yes how i hiding totals columns?

Thanks

Parents
  • 7922
    Verified Answer
    posted

    Hi

     

    There is not build in property for hide totals, but there is a functionality for hide columns and rows. So using this feature you can easy to hide the columns you don’t want to be visible. Below is sample how you can manipulate columns visibility.

     

    pivotGrid.LayoutLoaded += (s, args) =>
    {
        foreach (PivotDataColumn c in pivotGrid.DataColumns)
        {
            if (c.IsTotal)
            {
                c.IsVisible = false;
            }
        }
    };

     

    Regards
    Todor 

     

     

Reply Children
No Data