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#291202however this causes my column hierarchy to disapear.
Thanks for the help, sorry for asking so many questions!
Sam
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; }
bump
Hi Sam,
I am attaching a sample where a measure is selected via radio button. For one measure totals are not shown and for the other totals are shown. Let us know if this is helpful for you.
Regards,
Mircho Yovchev