Queries |
Details | ||
Set background color to each group based on the level in grid |
You can achieve your requirement by using DrawCell eventby checking the RowType as CaptionCoveredRow
You can refer the following user guide documentation to customize the caption summary cell.
| ||
In Group result, field name with Field value of selected field for Grouping is required. |
By default our SfDataGrid displays the group header with column name along with summary value.
You can refer the following screen shot.
| ||
How to change backgound colour of Cell for Group/Subgroup.. for Export to Excel as well as Export to PDF |
You can achieve this requirement by customizing the converter. You can refer the following code snippets.
Exporting to excel.
Exporting to PDF
|