We can update the different colors for each group caption using the captionFormat of the Grid groupSettings and helper functions of the jsRender.
HTML
Render the Grid with the groupedColumns and captionFormat.
CSHTML
ASPX
Define captionFormat template and styles that needed for the Grid.
Define the helper functions that need to generate the color and update them to the styles of the caption format template.
Figure: Grid with customized background color in caption format. |
This page will automatically be redirected to the sign-in page in 10 seconds.