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
You can customize the automatically generated field by providing the `EditorType` attribute, exposed on the `<FormItem>`, or by using the [FormItem Template]({%slug form-formitems-template%}). The `EditorType` attribute accepts a member of the `FormEditorType` enum:
public DateTime DOB { get; set; } = DateTime.Today.AddYears(-20);
227
+
}
228
+
}
229
+
````
230
+
231
+
181
232
## Data Annotation Attributes
182
233
183
234
The Telerik Form for Blazor supports validation through the `<DataAnnotationsValidator />`. This allows you to take advantage of all validation attributes from the <ahref="https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations?view=net-5.0"target="_blank">data annotation attributes</a> list provided by .NET.
Copy file name to clipboardExpand all lines: components/gantt/gantt-tree/editing.md
+240Lines changed: 240 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,246 @@ List of the available events:
39
39
*`OnDelete` - fires when the `Delete` command button is clicked. The event handler receives an argument of type `GanttDeleteEventArgs` that exposes the following fields:
40
40
41
41
*`Item` - an object you can cast to your model class to obtain the current data item.
42
+
43
+
44
+
## Customize The Editor Fields
45
+
46
+
You can customize the editors rendered in the Gantt Tree by providing the `EditorType` attribute, exposed on the `<GanttColumn>`. The `EditorType` attribute accepts a member of the `GanttTreeListEditorType` enum:
47
+
48
+
| Field data type | GanttTreeListEditorType enum members |
0 commit comments