Disable paging for the datatable
Function: Disable paging for the datatable
This function allows you to turn off the automatic page-by-page display for a specific Data Table on your application page. When paging is disabled, all the data within that table will be shown at once, rather than being split across multiple pages. This can be useful when you want users to see all information without navigating through pages, especially for smaller datasets or when printing.
Input
- UI element (Data Table): This is the specific Data Table component on your application page where you want to disable the paging feature. You must select an existing Data Table from your application's design.
Output
This function does not produce any direct output. Instead, its effect is a change in how the selected Data Table behaves and displays data on your application page.
Execution Flow
Real-Life Examples
Here are some examples of how you might use the "Disable paging for the datatable" function:
Example 1: Displaying a Small List of Options
Imagine you have a Data Table that shows a short list of product categories, and you want users to see all categories at a glance without needing to click through pages.
- Inputs:
- UI element (Data Table):
Product Categories Table
- UI element (Data Table):
- Result: The
Product Categories Tablewill now display all product categories on a single page, making it easier for users to view and select from the entire list.
Example 2: Creating a Printable Report
You've built a report page that displays sales data for the current month in a Data Table. For printing purposes, you need all the sales records to appear on one continuous page.
- Inputs:
- UI element (Data Table):
Monthly Sales Report Table
- UI element (Data Table):
- Result: The
Monthly Sales Report Tablewill show every sales transaction for the month on a single, scrollable view, which is ideal for printing or exporting the complete dataset.
Example 3: Showing All Related Items for a Selected Record
In an application managing customer orders, when a user selects a specific order, you want to display all the items within that order in a separate Data Table without any paging, even if there are many items.
- Inputs:
- UI element (Data Table):
Order Items Table
- UI element (Data Table):
- Result: The
Order Items Tablewill immediately show all products associated with the selected customer order, ensuring that the user can review the entire order content without navigating pages.