New to Telerik UI for Blazor? Download Free 30-day trial

Grid - Custom Editor

1 - 15 of 830 items
  • Custom-editor.razor
  • OrderService.cs
  • OrderDto.cs
Loading the demo source code...please wait.

Description

The Telerik Grid for Blazor provides default editors for its editable columns. For fields of string type, the default is the TelerikTextBox, for numeric values the TelerikNumericTextBox, and for DateTime object - the DatePicker. 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 Delivery Time column, where instead of TelerikDatePicker, a TelerikDateTime picker 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 Ship Country column which allows you to edit the values through a TelerikDropDownList.
This Data Grid 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.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.