I'm trying to highlight just one column header.
I would also like the whole column to have a different border to the others.
But I have not managed to modify any element of the header either.
This is the code I am using:
5 Answers, 1 is accepted
For non-data cells, you need to use the ViewCellFormatting event, an example is available here: Formatting Cells.
I hope this will be useful. Let me know if you have additional questions.
ViewCellFormatting is a correct event.
Not CellFormatting event.
I have managed to put the letter in bold and I have been able to change the style of the border. But I have not managed to change other properties of the header such as text or backcolor. Any suggestions?
I am glad that you have found a solution for this case. Do not hesitate to contact us if you have other questions.