Interactive Grid is one of the most powerful components in Oracle APEX, widely used for displaying and managing large datasets.
By default, Interactive Grid uses pagination, which can sometimes impact user experienceโespecially when users prefer scrolling instead of switching pages.
In this blog, weโll learn how to replace traditional pagination with a โShow Moreโ (Load More) button, allowing users to load data dynamically.
๐ฏ What You Will Achieve
After implementing this solution:
โ Users can load more records with a single click
โ No need to navigate between pages
โ Improved user experience for large datasets
โ Cleaner and modern UI
๐งฐ Tools & Technologies
- Oracle APEX
- JavaScript
- Interactive Grid
๐ผ Business Requirement
In many enterprise applications:
- Users work with large datasets
- Pagination becomes tedious
- Users prefer continuous scrolling or incremental loading
For example:
๐ Employee listing screen
๐ Order management dashboard
๐ Inventory data grid
Instead of clicking โNext Pageโ, users should be able to:
โก Click โShow Moreโ
โก Load additional records instantly
โ๏ธ Step-by-Step Implementation
Step 1๏ธโฃ Create Interactive Grid
Create an Interactive Grid based on your table (e.g., EMP).
Step 2๏ธโฃ Add Static ID
Go to:
Region โ Advanced โ Static IDSet a Static ID (optional but recommended):
emp_igStep 3๏ธโฃ Add Initialization JavaScript Code
Navigate to:
Attributes โ Advanced โ JavaScript Initialization CodeAdd the following code:
function( options ) {
options.defaultGridViewOptions = {
pagination: {
loadMore: true
},
rowsPerPage: 5
};
return options;
}๐ง Code Explanation
๐นย loadMore: true
- Enables โShow Moreโ button
- Replaces traditional pagination
- Loads additional records dynamically
๐นย rowsPerPage: 5
- Defines how many rows to load initially
- Each click on Show More loads the next set of rows
๐ You can increase this value based on performance needs.
๐ฅ๏ธ How It Works
Initial Load
- Only 5 records are displayed
When User Clicks โShow Moreโ
- Next 5 records are loaded
- Data keeps appending to the grid
๐จ UI Behavior
Traditional Pagination โ
โฌ
Modern Load More Button โ
This creates a smooth and app-like experience.
๐ก Use Cases
This feature is very useful in:
- ๐ Reporting dashboards
- ๐ Product listings
- ๐ฆ Inventory systems
- ๐จโ๐ผ Employee directories
- ๐ Audit logs
โก Pro Tips
โ Use smaller rowsPerPage for better performance
โ Combine with Lazy Loading for large datasets
โ Avoid loading too many records at once
โ Test performance for large tables
๐ Advanced Enhancement Ideas
You can further enhance this feature:
๐ Add infinite scrolling (auto-load on scroll)
๐ Combine with search filters
๐ Add loading spinner
๐ Highlight newly loaded rows
๐ Conclusion
Using a simple JavaScript configuration, you can transform your Interactive Grid into a modern, user-friendly component with a โShow Moreโ button.
This small enhancement:
โ Improves usability
โ Reduces navigation friction
โ Makes your app feel more responsive
Love coding? Me too! Letโs keep in touch โ subscribe to my website for regular chats on Oracle APEX, PL/SQL,SQL JavaScript, and CSS.

