The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team January 29, 2007 07:28 PM UTC
Hi Harshad,
How to apply different colour to different lower group section in grid grouping control?
>>>>> If you want to set the back color of the group based on column name than you can use the GridColumnDescriptorr.GroupByAppearance property. Here is a code snippet to show this.
If you want to set the back color of the group based on group level then you can handle the TableControlPrepareViewStyleInfo event and set the e.Inner.Style.BackColor property to new color to want to display.
//C# code. private void gridGroupingControl1_TableControlPrepareViewStyleInfo(object sender, GridTableControlPrepareViewStyleInfoEventArgs e) { GridTableCellStyleInfo style = e.Inner.Style as GridTableCellStyleInfo; Element el = style.TableCellIdentity.DisplayElement as Element;