The "Contains" filter operator is relevant for the text columns. For the other column types different filter operators are displayed.
The following KB article demonstrates how to specify default filter operator and thus you can set the "Contains" filter operator for the text columns: https://docs.telerik.com/devtools/winforms/knowledge-base/set-default-filter-operators-in-gridview
The RadGridView.ContextMenuOpening event is fired when the filter popup is going to be opened. This is the appropriate place to hide some of the menu items that you don't want to be displayed:
this.radGridView1.EnableFiltering = true;
private void radGridView1_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e)
if (e.ContextMenuProvider is GridFilterCellElement)
e.ContextMenu.Items.Visibility = ElementVisibility.Collapsed;
If the applied default filter operator is the only one that you are going to use and want to hide the filter button, ou can subscribe to the ViewCellFormatting event and use the following code snippet:
private void radGridView1_ViewCellFormatting(object sender, CellFormattingEventArgs e)
GridFilterCellElement filterCell = e.CellElement as GridFilterCellElement;
filterCell.FilterButton.Visibility = ElementVisibility.Collapsed;
Note that all operations like filtering, paging, grouping etc. that RadGridView offers, are client-side based since RadGridView is designed to work with its data applied via the DataSource property. Server-side filtering may be implemented with RadVirtualGrid as it loads data on demand. You can refer the Demo application >> VirtualGrid >> First look example where in the FilterChanged event the new relevant data is extracted from the external data source and then filled in the virtual grid via the CellValueNeeded event.
I hope this information helps.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.