Skip to content

932109: Added type field topic in flatdata #4364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: hotfix/hotfix-v30.1.37
Choose a base branch
from
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 %}