You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/grid/templates/editor.md
+123-7Lines changed: 123 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,21 +16,26 @@ You can data bind components in it to the current context, which is an instance
16
16
17
17
If you need to perform logic more complex than simple data binding, use the change event of the custom editor component to perform it. You can also consider using a [custom edit form](https://demos.telerik.com/blazor-ui/grid/editing-custom-form).
18
18
19
-
>caption Sample editor template for a field
19
+
>caption Sample editor template for a field - limit the string input options through a select element
20
20
21
21
````CSHTML
22
-
@* This example shows how to use a dropdownlist to edit strings. You can implement any desired logic instead.
23
-
If you have an enum, the grid can edit and filter it out-of-the-box without the need for an edit template *@
22
+
@* This example shows how to use a simple <select> to edit strings. You can implement any desired logic instead.
23
+
If you have an enum, the grid can edit and filter it out-of-the-box without the need for an edit template *@
0 commit comments