Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141924 | Jan 10,2019 03:21 PM UTC | Jan 11,2019 12:15 PM UTC | WinForms | 1 |
![]() |
Tags: SfDataGrid |
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
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.