Scroll Modes
By default, the scrolling functionality of the Telerik UI ListView for ASP.NET Core is disabled.
Getting Started
To control scrolling in the ListView, use its Scrollable
property.
<script type="text/x-kendo-tmpl" id="template">
<div class="product">
<h3>#=ProductName#</h3>
<dl>
<dt>Price:</dt>
<dd>#=kendo.toString(UnitPrice, "c")#</dd>
</dl>
</div>
</script>
Endless Scrolling
The endless scrolling functionality enables the ListView to display large amounts of data by appending additional pages of data on demand. The loading of new items happens when the scrollbar of the ListView reaches its end. When the data is returned, only the new items are rendered and appended to the old ones. The endless scrolling of the ListView works with both local and remote data. For a runnable example, refer to the demo on endless scrolling by the ListView.
The following example demonstrates how to enable the endless scroll mode of the ListView by setting the Scrollable
property to the Endless
value of the ListViewScrollableMode
enum.
<script type="text/x-kendo-tmpl" id="template">
<div class="product">
<h3>#=ProductName#</h3>
<dl>
<dt>Price:</dt>
<dd>#=kendo.toString(UnitPrice, "c")#</dd>
</dl>
</div>
</script>