Bug in <e-file-grid-settings> of FileExplorer component

Hi,

I think i've found a bug.
With your FileExplorer sample (generated with SampleCreator), you just add those lines :

        <e-file-grid-settings>
            <e-file-columns>
                <e-column-field header-text="Name" field="Name" width="150"></e-column-field>
                <e-column-field header-text="DateModified" field="dateModified" width="150"></e-column-field>
                <e-column-field header-text="size" field="size" width="90" text-align="Right"></e-column-field>
            </e-file-columns>
        </e-file-grid-settings>

Just like the sample you provide, and files names are not showing :

I hope you'll have enough time to fix this bug before the next release ?
Thx by advance.
Regards,
FreD.

3 Replies

AB Ashokkumar Balasubramanian Syncfusion Team July 27, 2018 02:55 PM UTC

Hi FreD 
 
We have checked your reported problem and code block at our end. The reported problem due to on improper specification for Name column in grid settings. So, you can modify the code block to resolve it. Please check the modified code block below. 
 
[CSHTML] 
 
<ej-file-explorer id="default" path="wwwroot/images/FileExplorer" layout="Grid" ajax-action="@Url.Content("FileActionDefault")" width="100%" is-responsive="true"> 
   <e-file-grid-settings> 
      <e-file-columns> 
         <e-column-field header-text="Name" field="name" width="150"></e-column-field> 
         <e-column-field header-text="DateModified" field="dateModified" width="150"></e-column-field> 
         <e-column-field header-text="size" field="size" width="90" text-align="Right"></e-column-field> 
       </e-file-columns> 
    </e-file-grid-settings>               
    <e-file-ajax-settings> 
     <e-download url="/FileExplorer/Download{0}"></e-download> 
     <e-get-image url="/FileExplorer/GetImage{0}"></e-get-image> 
     <e-upload url="/FileExplorer/Upload{0}"></e-upload> 
    </e-file-ajax-settings> 
</ej-file-explorer> 
 
Please let us know, if you need any further assistance. 
 
Regards, 
Ashokkumar B. 




FP Frédéric Peyronnin July 30, 2018 08:55 AM UTC

Thx a lot for your answer, it works now.

Maybe should you fix your documentation here : https://help.syncfusion.com/aspnet-core/fileexplorer/customization

<e-column-field header-text="Name" field="Name" width="150"></e-column-field>
Regards,
FreD.


SK Shanmugaraja K Syncfusion Team August 1, 2018 11:34 AM UTC

Hi FreD, 
 
Thank you for your update. 
 
Already, we have modified our documentation as per the mentioned details. The changes are in the publishing stage and will be refreshed at the earliest. 
 
Overall, we have the planned to improve the documentation. Therefore, we will modify and publish the updated documentation at the earliest.   
 
Regards, 
Shanmugaraja K 


Loader.
Up arrow icon