DefaultSort property reference for configuring default table sorting.
Property description
The defaultSort property defines the default column and direction used to sort the rows.
Minimal JSON
{
"predicate": "objectProperty.#objectName",
"reverse": true
}
Nested properties
| Property | Description | Vales | Mandatory |
|---|
predicate | Default column used for sorting the table. The predicate usually references both the column type and its value in the following format type.assetTypeKey. See the table below for supported combinations. If your column has numerical values, make sure to assign the is_number feature to the attribute. | string* | Yes |
reverse | Determines whether the table is sorted in the reverse (descending) order. | boolean | No |
Supported predicate values
| Column type | Predicate format | Example predicate |
|---|
attributeTypeKey | The following formats are supported: attributeTypeKey.[attribute_type_key], attributeTypeKey.#[attribute_type_key]` | attributeTypeKey.core_description |
externalKey | Predicate has no type. | objectURL |
objectProperty | objectProperty.#[property_key] | objectProperty.#objectName |
relationTypeKey | relationTypeKey.[relation_type_key] | relationTypeKey.core_related |
userRelationTypeKey | userRelationTypeKey.[user_relation_type_key] | userRelationTypeKey.core_steward |