I just want to disable (grayed-out, un-clickable) the "funnel" icon of the filter on the radgridview header and not HIDE it.
Is there easy way to do it without creating a custom filter?
1 Answer, 1 is accepted
answered on 22 Dec 2016, 03:58 PM
In order to achieve the desired result, you can edit the control template of the GridViewHeaderCell element and make use of its FilteringUIVisibility property. What you can do is to define the FilteringDropDown inside of the control template like so (for the Office_Black theme):
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
throw new NotImplementedException();
Additionally, you can apply the custom control template only to specific columns by using their HeaderCellStyle property.
Please let me know if this would work for you.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.