Hi Daniel,
Currently, there are no plans to add it as a property, however, it can be achieved rather easily using the following approach:
protected void RadPivotGrid1_ItemCreated(object sender, PivotGridItemCreatedEventArgs e)
{
if (e.Item is PivotGridAggregateItem)
{
foreach (Control control in e.Item.Controls)
{
if (control is PivotGridColumnZone)
{
RadButton button = new RadButton()
{
ID = "PivotGridExportButton",
Text = "Save as Excel"
};
button.Icon.PrimaryIconCssClass = "rbSave";
button.Style["float"] = "right";
button.Click += (s, a) =>
{
RadPivotGrid1.ExportToExcel();
};
control.Controls.Add(button);
break;
}
}
}
}
Regards,
Eyup
Progress Telerik