Is there a way to configure the FileManager so it displays files in the grid view only? I do see how to remove the option to switch between views but if I use that it only displays files in the list view.
Found it if anyone else is looking...it is the InitialView configuration option in combination with removing the "changeView" Toolbar option.
.InitialView("grid")
Alexander
Telerik team
commented on 15 Dec 2022, 05:07 PM
Hi John,
Thank you for sharing your solution with the community, it is greatly appreciated.
Indeed, in order to set the FileManager's default view to be the grid view the .InitialView() API configuration should be utilized. More information regarding the different view specifics and use-cases can be found here:
Found it if anyone else is looking...it is the InitialView configuration option in combination with removing the "changeView" Toolbar option.
.InitialView("grid")
Hi John,
Thank you for sharing your solution with the community, it is greatly appreciated.
Indeed, in order to set the FileManager's default view to be the grid view the .InitialView() API configuration should be utilized. More information regarding the different view specifics and use-cases can be found here:
In addition, all of the available API configurations for the FileManager are available within our official Server-Side API Documentation: