void options_CustomizeSheetFooter(DevExpress.Export.ContextEventArgs e) { e.ExportContext.AddRow(new CellObject[] { new CellObject() { Value = "Footer:" }, new CellObject() { Value = 1.234 } }); }
void options_CustomizeSheetHeader(DevExpress.Export.ContextEventArgs e) { e.ExportContext.AddRow(new CellObject[] { new CellObject() { Value = "Pivot Grid Export Test", Formatting = new DevExpress.Export.XlFormattingObject() { BackColor = Color.GreenYellow } } }); e.ExportContext.AddRow(new CellObject[] { new CellObject() { Value = "Header:" }, new CellObject() { Value = 1234 } }); }