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
Hi, Iβm Ankur Rai, an Oracle APEX Developer with 6+ years of professional experience in building enterprise applications. I specialize in creating scalable and efficient solutions using Oracle APEX, PL/SQL, and SQL to solve real-world business challenges.
I am a 3X Oracle APEX Professional Certified Developer and also an Oracle ACE Associate Member, actively contributing to the Oracle community by sharing knowledge, insights, and best practices. Through my blogs, I aim to help developers learn, grow, and build better Oracle APEX applications together.




