Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ej2-asp-core-mvc/file-manager/flat-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ The File Manager can be populated with local data that contains the array of [Fi

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.

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.

{% tabs %}
{% highlight cshtml tabtitle="CSHTML" %}
{% include code-snippet/file-manager/flat-data/razor %}
Expand Down Expand Up @@ -67,6 +69,7 @@ The File Manager can be populated with local data that contains the array of [Fi

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.

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.

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

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

{% endif %}
{% endif %}