List - Lazy Load Datalist Template is a custom template for Datalist Builder designed to enhance performance when working with large datasets. By incrementally loading rows as the user scrolls, it reduces initial load times and improves the user experience in data-heavy applications. |
Plugin Available in the Bundle:
This plugin bundle is compatible with Joget DX 8.
The datalist will load a limited number of rows initially, and additional rows will be fetched automatically as the user scrolls down (or click on the Load More Data button).
Figure 1: Expected Outcome of the Lazy Load Datalist Template Plugin
You can obtain the .jar
file from the latest release at: https://github.com/jogetoss/lazyload-datalist-template/releases
Upload the plugin JAR file in Joget via Settings → Manage Plugins.
You can either import the demo app or create a new app from scratch.
Download the demo app: APP_data_archive-2-20250630082017.jwa
In Joget, go to Joget Home or All Apps and click on Import App.
Select the .jwa
file and complete the import process.
1. Begin by creating a form that includes the required fields such as a Text Field or any other relevant elements.
Figure 2: Add necessary fields in the form
2. Now generate a CRUD and Launch the UI using Click here option
Figure 3: Generate CRUD
3. In the datalist builder, navigate to the Settings tab and select Lazy Load Datalist Template from the template dropdown.
Figure 4: Selecting the Lazy Load Datalist Template
4. Configure the template properties according to your requirements (see properties section below).
Figure 5: Configuring Lazy Load Template Properties
1. In runtime, navigate to your datalist that has been configured with the Lazy Load Datalist Template. The datalist will initially display the first batch of records.
Figure 6: Initial Datalist Display with Lazy Loading
2. Load additional records using one of two methods:
Figure 7: Continued Loading of Additional Records
Figure 8: Plugin Configuration for Lazy Loading Settings
Name | Description |
---|---|
Lazy Loading Settings | Header Field. |
No. of Rows | Number of records to load per request. |
Show Load More Rows Button | Enable/disable the "Load More" button. When enabled, users click to load more data. When disabled, data loads automatically on scroll |
Message When There Is No More Data | Message displayed when all records have been loaded |
Row Height | Controls the height of each row in the datalist (Default, Narrow, Wide) |
Load More Button Title | Text displayed on the Load More button when enabled |