Hi,
I have grid control that that has master / detail
setup. I’m trying to get this to export
to excel (html) but I’m having trouble figuring out how to apply 1 type of
formatting to master data and another type of formatting to child data
So for example this code applies formatting to all rows
protected void RadGrid1_ExportCellFormatting(object sender, ExportCellFormattingEventArgs e){ GridDataItem item = e.Cell.Parent as GridDataItem; if (item.ItemType == GridItemType.AlternatingItem) item.Style["background-color"] = "#359AFF"; else item.Style["background-color"] = "#2D62FF";}Any ideas how I accomplish separate formatting please?
