Scrolling

Getting Started

By default, the ListView is as high as its content and as wide as the available space. To enable scrolling, use a fixed height that is less than the height of the ListView content. To configure the height of the ListView, either set its height input or use the style HTML property. To configure the width of the ListView, use the style HTML property.

Example
View Source
Edit In Stackblitz  
Change Theme:

Endless Scrolling

After the user scrolls to the end of the content container, the ListView enables you to load more records by appending additional data items on demand. To set the endless scrolling feature, use the scrollBottom event of the ListView.

The following example demonstrates how to implement endless scrolling with local data.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?