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