BasesViewConfig.setSortProperty method
BasesViewConfig › setSortProperty
Unofficial
Updates the sort config for a property.Signature:
setSortProperty(property: `note.${string}` | `formula.${string}` | `file.${string}`, direction: "ASC" | "DESC" | "NONE" | "TOGGLE"): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| property | note.${string} | formula.${string} | file.${string} | The property identifier. |
| direction | "ASC" | "DESC" | "NONE" | "TOGGLE" | The sort direction to apply, or a toggle/none action. |
Returns: void