Disable filter of datatable
Function: Disable filter of datatable
This action allows you to turn off the filtering capability for a specific data table in your application. When the filter is disabled, users will no longer see the options to filter the data displayed in that table, ensuring they view the complete, unfiltered dataset.
Input
- UI element
- Description: The specific data table component in your application for which you want to disable the filter.
- Type:
PART(specifically adatatable) - Required: Yes
Output
This action does not produce any direct output. Its effect is a change in the behavior of the specified data table.
Execution Flow
Real-Life Examples
Here are some practical scenarios where you might use the "Disable filter of datatable" action:
Example 1: Displaying a Full Customer List
Imagine you have a page showing all your customer records. For a specific report or view, you want to ensure that users always see the complete list without any filters applied, preventing them from accidentally narrowing down the results.
- Inputs:
- UI element:
Customer_List_Table(the data table displaying customer information)
- UI element:
- Result: The
Customer_List_Tablewill no longer show filter options, and all customer records will be visible by default.
Example 2: Product Catalog for Public View
You have a public-facing product catalog where you want to showcase all available products without giving visitors the option to filter. This ensures they browse the entire range you offer.
- Inputs:
- UI element:
Public_Product_Catalog_Table(the data table displaying product details)
- UI element:
- Result: The
Public_Product_Catalog_Tablewill appear without any filter controls, presenting the full product range to visitors.
Example 3: Fixed Order History Report
For a specific internal report that always needs to show the complete order history for auditing purposes, you want to disable filtering to guarantee that no orders are inadvertently excluded from the view.
- Inputs:
- UI element:
Audit_Order_History_Table(the data table displaying past orders)
- UI element:
- Result: The
Audit_Order_History_Tablewill have its filtering capabilities turned off, ensuring that all historical orders are displayed without the option to filter them out.