Virtual Scrolling in EJ 1 ASP.NET MVC FileExplorer
20 Feb 2018 / 1 minute to read
Virtual Scrolling is introduced to provide support for loading files and folders on demand in order to improve performance in FileExplorer when large amount of files are present.
Virtual Scrolling can be enabled by using VirtualItemCount API. It specifies the total files to be loaded initially, and on each scroll the next set of files are loaded. For eg- If VirtualItemCount value is given as ”20”, then 20 items are loaded initially and on each scroll the next/previous 20 items are loaded. If the value of VirtualItemCount is 0, virtual scrolling will be disabled.
NOTE
Default value of
VirtualItemCount
is 0.
@(Html.EJ().FileExplorer("fileExplorer")
.Path("~/FileExplorerContent/")
.AjaxAction(@Url.Content("FileActionDefault"))
.VirtualItemCount(40)
)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page