private static void CustomizeCellExportingHandler(object sender, TreeGridCellExcelExportingEventArgs e) { if (e.CellType == TreeGridCellType.RecordCell && e.ColumnName == "Salary") { e.Range.CellStyle.ColorIndex = ExcelKnownColors.Sky_blue; } }
private static void CellExportingHandler(object sender, TreeGridCellExcelExportingEventArgs e) { if (e.CellType == TreeGridCellType.RecordCell && e.ColumnName == "Title") { e.Range.CellStyle.Font.FontName = "Segoe UI"; } }