useSortedItems
DataTable
stable
API
Signature
Signature TypeScript complète extraite du fichier du composable.
API
Paramètres
Paramètres d'entrée acceptés par ce composable.
- propsrequis{ customKeySort: TDataTableCompareFunction | undefined }
- itemsrequisRef<T[]>
- sortByrequisRef<Array<IDataTableSortItem>>
- options{ transform?: (item: T) => Record<string, unknown> sortFunctions?: Ref<Record<string, TDataTableCompareFunction> | undefined> sortRawFunctions?: Ref<Record<string, TDataTableCompareFunction> | undefined> }