Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Commit f756bdc

Browse files
authored
Merge pull request #148 from esn303/patch-1
Add "nameTemplate" to the docs
2 parents b0aa0f5 + 4446154 commit f756bdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/developers-guide.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ The **Doc Type Grid Editor** supports 3 config options, all of which are optiona
8484
| Member | Type | Description |
8585
|-----------------|----------|-------------|
8686
| AllowedDocTypes | String[] | An array of doc type aliases of which should be allowed to be selected in the grid editor. Strings can be REGEX patterns to allow matching groups of doc types in a single entry. e.g. "Widget$" will match all doc types with an alias ending in "Widget". However if a single doc type is matched, (aka **Single Doc Type Mode**), then doc type selection stage (in the DTGE panel) will be skipped. Note, your document type must be an Element type, in order to be usable in DTGE. |
87+
| NameTemplate | String | Allows using any of the doctype's property values in the name/label: {{propertyAlias}} |
8788
| EnablePreview | Boolean | Enables rendering a preview of the grid cell in the grid editor. |
8889
| LargeDialog | Boolean | Makes the editing dialog larger. Especially useful for grid editors with complex property editors. |
8990
| ViewPath | String | Sets an alternative view path for where the **Doc Type Grid Editor** should look for views when rendering. Defaults to `~/Views/Partials/` |

0 commit comments

Comments
 (0)