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

ASP.NET Core TreeList Filter Row

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
filter_row.cshtml
Filter_RowController.cs
EmployeeDirectoryController.cs
EmployeeDirectoryModel.cs
Filter_Row_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

This demo illustrates how to enable filter row in the Telerik TreeList for ASP.NET Core component . In the header set the filterable mode of the TreeList to row:

.Filterable(ftb => ftb.Mode('row'))

Therefore, based on the data type of the underlying columns data, the Kendo UI TreeList will render Kendo UI TextBox/es for string values, Kendo UI NumericTextBox/es or Kendo UI DatePicker/s for filtering in the column headers.

Additionally, a default filter operator could be specified and applied when the user enters a value in the filter textbox and presses Tab or Enter. This can be done using the .Filterable(ftb => ftb.Cell(cell => cell.Operator("contains") method of the corresponding column. An example could be found in the LastName column.

Additional Apps

This TreeList example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources