Skip to content

Commit 186f5c5

Browse files
Merge grid-editortype-2549 into production (#2551)
* docs(grid) * docs(treelist): Add missing EditorType column parameter --------- Co-authored-by: Dimo Dimov <[email protected]>
1 parent 7e99de4 commit 186f5c5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/grid/columns/bound.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ You can use the following properties on bound columns:
109109
### Data Operations
110110

111111
* `Editable` - (defaults to `true`) - set it to `true` or `false` to allow or prevent [editing]({%slug components/grid/editing/overview%}) of this field. To edit data, you also need a [CommandColumn]({%slug components/grid/columns/command%}).
112+
* `EditorType` - set the [editor component for `string` or `DateTime` columns]({%slug components/grid/editing/overview%}#customize-the-editor-fields) when an [`EditorTemplate`]({%slug grid-templates-editor%}) is not used.
112113
* `Filterable` - (defaults to `true`) - set this to `false` so a [filterable]({%slug components/grid/filtering%}) Grid will not let the user filter that particular column.
113114
* `FilterEditorType` - (defaults to `GridFilterEditorType.DatePicker`) - determines if the default filtering component of a `DateTime` column will be a DatePicker or a DateTimePicker.
114115
* `FilterEditorFormat` - sets the `Format` of the filtering component as a `string`. Works for DateTime and numeric columns. Do not use a placeholder (e.g. set `"D"`, not `"{0:D}"`).

components/treelist/columns/bound.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ You can use the following properties on bound columns:
143143
### Data Operations
144144

145145
* `Editable` - (defaults to `true`) - you can set this property to `true` or `false` to allow or prevent [editing]({%slug treelist-overview%}#editing) of this field. Defaults to `true`. To edit data, you also need a [CommandColumn]({%slug treelist-columns-command%}).
146+
* `EditorType` - set the [editor component for `string` or `DateTime` columns]({%slug treelist-editing-overview%}#customize-the-editor-fields) when an [`EditorTemplate`]({%slug treelist-templates-editor%}) is not used.
146147
* `Filterable` - (defaults to `true`) - you can set this to `false` so a [filterable]({%slug treelist-filtering%}) treelist will not let the user filter that particular column.
147148
* `FilterEditorType` - (defaults to `TreeListFilterEditorType.DatePicker`) - determines if the default filtering component of a `DateTime` column will be a DatePicker or a DateTimePicker.
148149
* `FilterEditorFormat` - sets the `Format` of the filtering component as a `string`. Works for DateTime and numeric columns. Do not use a placeholder (e.g. set `"D"`, not `"{0:D}"`).

0 commit comments

Comments
 (0)