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
3160
Disable totals at runtime?
posted

I have a measure in my grid that displays percentages.  I dont want to total them.  I need to turn off totals at runtime for this measure
(see this post where I ask how to display measures at runtime: http://community.infragistics.com/forums/p/69487/351922.aspx#351922)

I tried the method displayed here: http://blogs.infragistics.com/forums/p/49509/291202.aspx#291202
however this causes my column hierarchy to disapear.

Thanks for the help, sorry for asking so many questions!

 

Sam

Parents
  • 3160
    posted

    I'm still stuck on this one.  When ever I expand/contract a column hierarchy, my columns disapear.  Please help, thanks.

     

     private void ExposureGrid_LayoutLoaded(object sender, EventArgs e)
            {
                if (ViewModel.IsQuantityView)
                    return;

                foreach (PivotDataColumn c in ExposureGrid.DataColumns.Where(x => x.IsTotal))
                    c.IsVisible = false;
            }

Reply Children