I am having trouble formatting one column in the grouped footer.
I can access the GridDataItems by "item" or "e" but I have NO idea how to access the grouped footer items and change their style.
Below is what I have for code in regards to exporting to Excel and formatting the GridDataItems, but I need to format the GroupedFooterItems.
I can access the GridDataItems by "item" or "e" but I have NO idea how to access the grouped footer items and change their style.
Below is what I have for code in regards to exporting to Excel and formatting the GridDataItems, but I need to format the GroupedFooterItems.
protected void RadGrid1_ExcelExportCellFormatting(object source, ExcelExportCellFormattingEventArgs e) |
{ |
GridDataItem item = e.Cell.Parent as GridDataItem; |
item.Style["background-color"] = "#ffffff"; |
e.Cell.Style["text-align"] = "center"; |
} |
Help please!