Skip to content

Commit b28c107

Browse files
authored
docs(FileManager): Fix tables (#2805)
1 parent 2191986 commit b28c107

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

components/filemanager/data-binding/overview.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -231,46 +231,46 @@ The above model properties have the following meaning for the FileManager:
231231
@[template](/_contentTemplates/common/parameters-table-styles.md#table-layout)
232232

233233
| Property | Description |
234-
|----------|----------|----------|
234+
| --- | --- |
235235
| **Item features** | |
236-
| `Name` | The name of the file.
237-
| `Size` | The size of the file.
238-
| `Path` | The path of the file.
239-
| `Extension` | The extension of the file.
240-
| `IsDirectory` | Whether the item is a directory. If its value is `false` the item is considered a file and not a directory.
241-
| `DateCreated` | The creation date of the file.
242-
| `DateCreateUtc` | The creation date of the file in UTC. Required.
243-
| `DateModified` | The modification date of the file.
244-
| `DateModifiedUtc` | The modification date of the file in UTC. Required.
236+
| `Name` | The name of the file. |
237+
| `Size` | The size of the file. |
238+
| `Path` | The path of the file. |
239+
| `Extension` | The extension of the file. |
240+
| `IsDirectory` | Whether the item is a directory. If its value is `false` the item is considered a file and not a directory. |
241+
| `DateCreated` | The creation date of the file. |
242+
| `DateCreateUtc` | The creation date of the file in UTC. Required. |
243+
| `DateModified` | The modification date of the file. |
244+
| `DateModifiedUtc` | The modification date of the file in UTC. Required. |
245245
| **Item relations** | |
246-
| `Id `| The unique identifier of the file. Required for [**binding to flat data**](slug:filemanager-data-binding-flat-data).
247-
| `ParentId` | Identifies the file's parent. Required for [**binding to flat data**](slug:filemanager-data-binding-flat-data). Set to `null` for root items. Do *not* use `ParentId` with hierarchical data.
248-
| `HasDirectories` | Determines whether the item has subdirectories. Required for binding to [**flat data**](slug:filemanager-data-binding-flat-data) If `true`, the directory will show an expand arrow. With [**hierarchical data**](slug:filemanager-data-binding-hierarchical-data), the FileManager renders expand icons based on `Directories`, but `HasDirectories` will take precedence.
246+
| `Id `| The unique identifier of the file. Required for [**binding to flat data**](slug:filemanager-data-binding-flat-data). |
247+
| `ParentId` | Identifies the file's parent. Required for [**binding to flat data**](slug:filemanager-data-binding-flat-data). Set to `null` for root items. Do *not* use `ParentId` with hierarchical data. |
248+
| `HasDirectories` | Determines whether the item has subdirectories. Required for binding to [**flat data**](slug:filemanager-data-binding-flat-data) If `true`, the directory will show an expand arrow. With [**hierarchical data**](slug:filemanager-data-binding-hierarchical-data), the FileManager renders expand icons based on `Directories`, but `HasDirectories` will take precedence. |
249249
| `Directories` | Defines the item subdirectories. Required for [binding to **hierarchical data**](slug:filemanager-data-binding-hierarchical-data).
250-
| `Items` | Defines all the subitems (directories and files) of the item.
250+
| `Items` | Defines all the subitems (directories and files) of the item. |
251251

252252
## Data Bindings
253253

254254
All [FileManager item features](#fileManager-item-features) map to model properties. The properties of a treeview item match directly to a field of the model the treeview is bound to. You provide that relationship by providing the name of the field from which the corresponding information is to be taken. To do this, in the main `TelerikFileManager` tag, use the parameters described below:
255255

256-
| FileManager Parameter | DEFAULT VALUE |
257-
|----------|----------|----------|
256+
| FileManager Parameter | Default Value |
257+
| --- | --- |
258258
| **Item features** | |
259-
| `NameField`| `"Name"`
260-
| `SizeField`| `"Size"`
261-
| `PathField`| `"Path"`
262-
| `ExtensionField`| `"Extension"`
263-
| `IsDirectoryField`| `"IsDirectoryField"`
264-
| `DateCreatedField`| `"DateCreated"`
265-
| `DateCreateUtcField`| `"DateCreateUtc"`
266-
| `DateModifiedField`| `"DateModified"`
267-
| `DateModifiedUtcField`| `"DateModifiedUtc"`
268-
| **Item relations** | || **Item relations** | |
269-
| `IdField `| `"Id" `
270-
| `ParentIdField`| `"ParentId"`
271-
| `HasDirectoriesField`| `"HasDirectories"`
272-
| `DirectoriesField`| `"Directories"`
273-
| `EntriesField`| `"Entries"`
259+
| `NameField`| `"Name"` |
260+
| `SizeField`| `"Size"` |
261+
| `PathField`| `"Path"` |
262+
| `ExtensionField`| `"Extension"` |
263+
| `IsDirectoryField`| `"IsDirectoryField"` |
264+
| `DateCreatedField`| `"DateCreated"` |
265+
| `DateCreateUtcField`| `"DateCreateUtc"` |
266+
| `DateModifiedField`| `"DateModified"` |
267+
| `DateModifiedUtcField`| `"DateModifiedUtc"` |
268+
| **Item relations** | |
269+
| `IdField `| `"Id" ` |
270+
| `ParentIdField`| `"ParentId"` |
271+
| `HasDirectoriesField`| `"HasDirectories"` |
272+
| `DirectoriesField`| `"Directories"` |
273+
| `EntriesField`| `"Entries"` |
274274

275275
>important Do not use `ParentId` with hierarchical data. This will confuse the FileManager that it is bound to flat data and the component may not render any items. If the model must have a `ParentId` property, set `ParentIdField` to a non-existent property.
276276

0 commit comments

Comments
 (0)