Data Set Sorting

Liferay DXP 2024.Q1/Portal GA112

Important

Currently, this feature is behind a release feature flag (LPS-164563).

While managing data sets, you can set default sorting rules for Data Sets displayed in Data Set fragments.

Adding Sorting Options to the Data Set

  1. Open the Global Menu (Global Menu), select the Control Panel tab, and click Data Sets under Object.

  2. Choose the Name of the data set you want to access.

    Alternatively, click Actions (Actions menu) next to the data set entry and select Edit.

  3. Select the Sorting tab.

  4. Click Add (Add button) and enter the information in the modal window that opens.

    Add a sorting option to the data set.

  5. Enter the Label for the sorting option and, optionally, localize it.

  6. Choose a field to be used for sorting.

  7. Check Use as Default Sorting to set it as the default sorting option.

  8. (Optional) Use the drag icon (Drag icon) to reorder the sorting options.

    Use the drag icon to reorder the sorting options.

After configuring the sorting options, data sets are sorted automatically in Data Set fragments according to the options you set.

Activating and Deactivating Sorting Options

Liferay 2025.Q2+/Portal GA135+

You can also activate or deactivate your sorting options via the buttons in the Status column. When a sorting option is inactive, it no longer appears for users until you reactivate it.

Deactivate sorting options with the toggle button, so you can reactivate them again later if needed.

Deactivate sorting options instead of deleting them so you can reactivate them again later if needed.

Using Sorting Options in a Fragment

Open the Order drop-down to choose other sorting options and specify whether the items are ordered in ascending or descending order.

The Order drop-down appears at the top of your Data Set fragment.

Alternatively, you can use the arrows next to the fields to sort. The up arrow indicates ascending order, while the down arrow indicates descending order.

Use the arrows next to the fields to sort entries.

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy