Documentation
Footer Renderer
Footer renderers allow you to completely customize the appearance and functionality of the table footer. Create custom pagination controls, add summary statistics, or build any footer UI that fits your application's design while maintaining full control over navigation and display logic.
Basic Usage
The footerRenderer prop accepts a function that receives pagination state and navigation handlers, returning a custom ReactNode to display in the footer area. This completely replaces the default footer.
Footer Renderer Configuration
FooterRendererProps Interface
💡 Pro Tip
Use the hasPrevPage and hasNextPage properties to properly disable navigation buttons when users reach the first or last page. This provides better UX feedback and prevents unnecessary navigation attempts.
Common Use Cases
Footer renderers are ideal for various scenarios:
- Custom pagination styles - Match your application's design system with branded pagination controls
- Summary statistics - Display totals, averages, or other aggregated metrics alongside pagination
- Row info display - Show detailed information about visible rows and total dataset size
- Action buttons - Add export, refresh, or other bulk action buttons in the footer area
- Advanced navigation - Implement jump-to-page inputs, page size selectors, or other custom navigation controls
Important Notes
- The footer renderer completely replaces the default footer when provided
- Page numbers are 1-based (first page is 1, not 0)
- The onNextPagefunction is async and returns a Promise
- Make sure to handle the hasPrevPageandhasNextPageflags to disable navigation when appropriate