From 10c0fbb7b89bacac5a99f0d6f1b7f0167d7bc553 Mon Sep 17 00:00:00 2001 From: saravananj-sf4375 <161449214+saravananj-sf4375@users.noreply.github.com> Date: Wed, 2 Jul 2025 18:49:50 +0530 Subject: [PATCH 1/2] 932109: Added type field topic in flatdata --- ej2-asp-core-mvc/file-manager/flat-data.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ej2-asp-core-mvc/file-manager/flat-data.md b/ej2-asp-core-mvc/file-manager/flat-data.md index b67713a538..ed7f6b5a9d 100644 --- a/ej2-asp-core-mvc/file-manager/flat-data.md +++ b/ej2-asp-core-mvc/file-manager/flat-data.md @@ -32,6 +32,8 @@ Event Name | Description The File Manager can be populated with local data that contains the array of [FileSystemData](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_FileSystemData) objects with `parentId` mapping. +The `type` field in the flatdata source must not be `null`. This field identifies whether the item is a file or a folder, and it also specifies the file type. + 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. {% tabs %} @@ -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 flatdata 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" %} @@ -94,4 +97,4 @@ To render the root-level folder, specify the `parentId` as null, or there is no {% endhighlight %} {% endtabs %} -{% endif %} \ No newline at end of file +{% endif %} From 6127c93c967bd1ecad8bed1f2110108c9729fcb2 Mon Sep 17 00:00:00 2001 From: saravananj-sf4375 <161449214+saravananj-sf4375@users.noreply.github.com> Date: Wed, 2 Jul 2025 18:56:20 +0530 Subject: [PATCH 2/2] 932109: Added type field topic in flatdata --- ej2-asp-core-mvc/file-manager/flat-data.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ej2-asp-core-mvc/file-manager/flat-data.md b/ej2-asp-core-mvc/file-manager/flat-data.md index ed7f6b5a9d..15130da5d7 100644 --- a/ej2-asp-core-mvc/file-manager/flat-data.md +++ b/ej2-asp-core-mvc/file-manager/flat-data.md @@ -32,10 +32,10 @@ Event Name | Description The File Manager can be populated with local data that contains the array of [FileSystemData](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.FileManager.FileManager.html#Syncfusion_EJ2_FileManager_FileManager_FileSystemData) objects with `parentId` mapping. -The `type` field in the flatdata source must not be `null`. This field identifies whether the item is a file or a folder, and it also specifies the file type. - 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 %} @@ -69,7 +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 flatdata source must not be `null`. This field identifies whether the item is a file or a folder, and it also specifies the file type. +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" %}