Sorting
Sorting
allows you to sort data in ascending or descending order.
This function is available:
- for widgets: List, GroupingHierarchy.
- for fields: See more field types
Sorting
can be enabled in two ways:
- On the field Sorting must be enabled explicitly at the field level
Not recommended.
At the application level Sorting is enabled by default for all fields in the application.
Info
Sorting won't function until the page is refreshed after adding or updating records.
How does it look?
On the field
How to add?
Example
Step 1 Add sort-enabled-default
= false
in application.yml
If the parameter is not set to true, sorting must be enabled explicitly at the field level.
Step 2 Add fields.enableSort to corresponding FieldMetaBuilder.
At the application level
Not recommended.
If the parameter is set to true, sorting is enabled by default for all fields in the application.