Data Set Sorting

Liferay DXP 2024.Q1 U112

Beta Feature

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.

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

Contact Us

Connect

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