New to Telerik UI for Blazor? Download Free 30-day trial
TreeList - Custom Editor
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
First Name | Last Name | Position | Hire Date |
---|
Daryl | Sweeney | CEO | 2/7/2012 8:00:00 PM | |
Guy | Wooten | Chief Technical Officer | 3/3/2010 8:00:00 PM | |
Buffy | Weber | VP, Engineering | 7/11/2011 6:00:00 PM | |
Skyler | Cleveland | VP, Engineering | 11/10/2014 12:00:00 AM | |
Priscilla | Frank | Chief Product Officer | 11/30/2014 12:00:00 AM | |
Ursula | Holmes | EVP, Product Strategy | 6/6/2011 12:00:00 AM | |
Melvin | Carrillo | Director, Developer Relations | 7/21/2014 12:00:00 AM | |
Martha | Chavez | Developer Advocate | 3/12/2013 12:00:00 AM | |
Oren | Fox | Developer Advocate | 5/14/2013 12:00:00 AM | |
Amos | Barr | Developer Advocate | 3/9/2010 12:00:00 AM |
- Custom-editor.razor
- EmployeeDirectoryService.cs
- EmployeeDirectoryDto.cs
Loading the demo source code...please wait.
Description
The Telerik TreeList for Blazor provides default editors for its editable columns. Depending on the needs of your application you might want to customize those editors to better suit your business case. Through the EditorType parameter, you can override the default editor used. This is demonstrated in the Hire Date column, where instead of TelerikDatePicker, a TelerikDateTimePicker is used. The EditorTemplate allows you to take control of the rendering of the Grid when in Edit mode. This concept is showcased under the Position column which allows you to edit the values through a TelerikDropDownList.
This Blazor TreeList Custom Editor example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor 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 Blazor or ThemeBuilder.