This is a migrated thread and some comments may be shown as answers.

View Details question

2 Answers 163 Views
FileManager
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Veteran
Alan asked on 04 Jan 2021, 06:19 PM

When View Details is enabled and details are shown for docx files, the TYpe is showing as 'Text'.

This happens in the online demo:https://demos.telerik.com/kendo-ui/filemanager/index

Go to the documents folder and select WordDocument with View Details enabled to see example

Is this a bug or as intended?

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 06 Jan 2021, 01:24 PM

Hello, Alan,

The behavior is expected, as there is a method in the template that generates the Preview Pane that returns the Type ( folder, image, txt ) based on the item's extension. If you wish to display the extensions instead of the type, you can use the previewpane.singlefiletemplate option to change the content of the Preview Pane. Here is a small example for reference.

Let me know how that works for you.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Alan
Top achievements
Rank 1
Veteran
answered on 06 Jan 2021, 08:14 PM

Martin,

That does the trick -thank you!

Tags
FileManager
Asked by
Alan
Top achievements
Rank 1
Veteran
Answers by
Martin
Telerik team
Alan
Top achievements
Rank 1
Veteran
Share this question
or