Thank you for writing.
To disable sorting when you click on header cell, you should set the EnableSorting
property to false
. For example:
The cleanest way to achieve the desired styling of header cell is by small modification of the theme. To accomplish that, you should remove the styling of GridHeaderCellElement.MouseOver
states. Attached you can find an image which points where you can find these states.
In this documentation article you can read how to use custom themes: http://www.telerik.com/help/winforms/themes-using-custom-themes.html
I hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>