New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Filter row

Loading Demo...
  • Edit in Theme Builder
  • filter_row.cshtml
  • Filter_RowController.cs
  • GridController.cs

Also available for:



You can see in this demo how you can enable filter row in the header by setting the grid's Filterable->Mode property to Row: .Filterable(ftb => ftb.Mode(GridFilterMode.Row))

Therefore based on the data type of the underlying columns data, the grid will render textboxes for string values, numeric inputs or date pickers for filtering in the column headers.

Additionally, you can specify a default filter operator to be applied when the user enters value in the filter textbox and tap Tab or Enter. This can be done using the Filterable->Cell->Operator attribute of the corresponding column, as shown for the Ship Name and Freight columns.

Support & Learning Resources