Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hi ,
I want to hide PivotGridCalculatedItem column programmatically on checkbox change event,is there any provision to do so.
Thanks,
Sagar Jaunjalkar
protected
void
Button1_Click(
object
sender, EventArgs e)
{
PivotGridColumnField field = RadPivotGrid1.Fields[
"Year"
]
as
PivotGridColumnField;
var calItems = field.CalculatedItems.OfType<PivotGridCalculatedItem>();
PivotGridCalculatedItem item = calItems.Where(x => x.GroupName ==
"Forecast for 1999"
).FirstOrDefault();
field.CalculatedItems.Remove(item);
RadPivotGrid1.Rebind();
}