Data Set View Sorting

Liferay DXP 2024.Q1 U112 Beta Feature

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

Adding Sorting Options to the Data Set View

  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. Click on the Name of the data set view to start editing it.

  4. Select the Sorting tab.

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

    Add a sorting option to the data set view.

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

  7. Choose a field to be used for sorting.

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

  9. (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