The "Infinite Scroll for Fast Scrolling Mice" component provides an easy way to implement infinite scrolling in your OutSystems applications. This component listens for when a user scrolls to the bottom of a scrollable container (like a list, table, or div) and triggers a custom event, allowing you to load more records dynamically.
This component is particularly optimized for users with frictionless scroll wheels and high-DPI mice, ensuring the scroll event is triggered even when users scroll quickly or smoothly. The component includes a placeholder for the content (table, list, etc.), so you can use it in any container where you want infinite scrolling functionality.
Download and Import the Component:
Drag and Drop the Widget:
Find the Placeholder:
Add Your Content:
Simply place the list, table, or any other scrollable content inside this placeholder. The component will automatically detect the scroll events and trigger the corresponding action when the user reaches the bottom.
No Additional Setup Needed:
Automatic Event Trigger:
Define the Client Action:
Handle Data Loading:
The client action can handle the logic for loading additional data (such as fetching more records from the database, calling an API, or dynamically adding rows to your list or table).
This Infinite Scroll component simplifies the implementation of infinite scrolling in your OutSystems applications. By simply placing your scrollable content (list, table, or any custom widgets) inside the widget's placeholder, the component automatically handles the scroll detection and event triggering.
There is no need to change any JavaScript or configure complex settings – just place your content, and the infinite scroll behavior will be up and running.