Skip to content

Commit 9e2767c

Browse files
Merge pull request #4364 from syncfusion-content/UG-932109
932109: Added type field topic in flatdata
2 parents cf1b1fc + 7354df5 commit 9e2767c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ej2-asp-core-mvc/file-manager/flat-data.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ The File Manager can be populated with local data that contains the array of [Fi
3434

3535
To render the root-level folder, specify the `parentId` as null, or there is no need to specify the `parentId` in the array of `FileSystemData` objects.
3636

37+
The `type` field in the flat data source must not be `null`. This field identifies whether the item is a file or a folder, and it also specifies the file type.
38+
3739
{% tabs %}
3840
{% highlight cshtml tabtitle="CSHTML" %}
3941
{% include code-snippet/file-manager/flat-data/razor %}
@@ -67,6 +69,7 @@ The File Manager can be populated with local data that contains the array of [Fi
6769

6870
To render the root-level folder, specify the `parentId` as null, or there is no need to specify the `parentId` in the array of `FileSystemData` objects.
6971

72+
The `type` field in the flat data source must not be `null`. This field identifies whether the item is a file or a folder, and it also specifies the file type.
7073

7174
{% if page.publishingplatform == "aspnet-core" %}
7275

@@ -94,4 +97,4 @@ To render the root-level folder, specify the `parentId` as null, or there is no
9497
{% endhighlight %}
9598
{% endtabs %}
9699

97-
{% endif %}
100+
{% endif %}

0 commit comments

Comments
 (0)