Skip to content

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"): void

Parameters:

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