Data Table Custom Query
Last updated
Last updated
Normally the widget reads the without any match criteria or sorting rule. This block allows you to use a custom with matching criteria and/or sorting rules.
Data Table: to choose the widget from your page.
Query Name: a that accepts a value representing the name of the to use.
Input Params: a that accepts a value containing the matching criteria values for the various inputs used by the selected .
Per Page: a that accepts a value that specifies the number of records to load and display per page.
To enable the functionality of this block, ensure that the of the widget is activated.
The Query Name needs to point to a valid defined in the associated .
The block needs to follow this block for the widget to load and display records.
The image below shows an example of the Data Table Custom Query block where the named Q1 is used. A list containing two items is used as the matching criteria (via Input Params). The number of records per page is set to 10.
As previously mentioned, it's important to place a block after this one to ensure that the widget loads and presents the records. This is demonstrated in the example as well.