Supposing that a Radgridview has 4 columns and the second one is the current column (our target).
Is it possible to change backcolor of not all the rows of the current column, but only the header cell of the color ? As if the column is highlighted or selected
I attached a picture
3 Answers, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 25 Dec 2019, 09:16 AM
The appropriate way to customize the header cell elements is to use the ViewCellFormatting event. Please refer to the following code snippet which demonstrates how to change the color of the header cell for a particular column.
You can use a similar approach for the CellElement. Feel free to use the Visual Style Builder in order to get familiar with the exact element states that are available for a certain element that you want to manipulate:
Dess | Tech Support Engineer, Sr.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.