Filtering
Theme: vista
| Order ID | Contact Name | Ship Address | Order Date |
|---|---|---|---|
Displaying items 1 - 10 of 32 | |||
| 10248 | Paul Henriot | 59 rue de l'Abbaye | 07/04/1996 |
| 10256 | Paula Parente | Rua do Mercado, 12 | 07/15/1996 |
| 10262 | Paula Wilson | 2817 Milton Dr. | 07/22/1996 |
| 10272 | Paula Wilson | 2817 Milton Dr. | 08/02/1996 |
| 10274 | Paul Henriot | 59 rue de l'Abbaye | 08/06/1996 |
| 10294 | Paula Wilson | 2817 Milton Dr. | 08/30/1996 |
| 10295 | Paul Henriot | 59 rue de l'Abbaye | 09/02/1996 |
| 10314 | Paula Wilson | 2817 Milton Dr. | 09/25/1996 |
| 10316 | Paula Wilson | 2817 Milton Dr. | 09/27/1996 |
| 10346 | Paula Wilson | 2817 Milton Dr. | 11/05/1996 |
About this example
This example shows the filtering feature of Telerik Grid for ASP.NET MVC.
To enable filtering use the Filterable method:
<%= Html.Telerik().Grid(Model)
.Name("Grid")
.Filterable()
%>
You can also filter the grid initially:
<%= Html.Telerik().Grid(Model)
.Name("Grid")
.Filterable(filtering => filtering.Filters(filters =>
{
filters.Add(o => o.ContactName).StartsWith("Paul").And().EndsWith("Wilson");
}))
%>