To configure the sorting options for the component:
-
On the edit view, under
Sort Options:
- To allow end
users to set the sort order, check the
Enable end user sorting controls checkbox.
The box is checked by default.
- To not allow end
users to control the sort order, uncheck the checkbox.
The
Sort Options section is updated to reflect
your selection.
-
If the
Sorting checkbox is not checked, then end
users cannot change the list sort order. The
Sort Options section contains a single field.
To determine how the results list is sorted, drag an attribute
from the
Available Attributes list to the
Sort Options field.
In the
Available Attributes list, you can use the
filter field to find the attribute you want to use.
After you drop the attribute, to determine the sort order:
- To sort by the
selected attribute in ascending order, click the up arrow. This is the default.
- To sort by the
selected attribute in descending order, click the down arrow.
To remove the attribute, click the delete icon.
To replace the attribute with a different attribute, drag a
different attribute from the
Available Attributes, and then drop it on
top of the currently selected attribute.
-
If the
Sorting checkbox is checked, then the
Sort Options section is updated to allow you
to provide a list of attributes end users can use to sort the list.
To add an attribute, drag the attribute from the
Attributes List to the
Sort Options table.
In the Available Attributes list, you can
use the filter field to find the attribute you want to use.
-
To determine the order of the attributes in the
Sorted by drop-down list, drag each row up and
down in the list.
-
For the attribute you want to use for the default sort order:
-
Click the
Default radio button next to the
attribute.
-
To sort by that attribute in ascending order, click the up
arrow.
-
To sort by that attribute in descending order, click the down
arrow.
-
From the
Sort Description drop-down list, select the
text that displays next to the attribute in the
Sorted by list.
For each attribute, the
Sorted by drop-down list includes one entry
for sorting in ascending order, and one for sorting in descending order.
To create your own descriptions for ascending and descending
order, from the
Sort Description drop-down list, select
create custom description. On the
Create Custom Description dialog box:
-
In the first field, marked with the up arrow, type the text to
use to indicate ascending order.
-
In the second field, marked with the down arrow, type the text
to use to indicate descending order.
-
Click
Save.
-
To remove an attribute from the list, click the delete icon for
that attribute.