---
title: "UsePaginatedList"
generated: true
---


## usePaginatedList

<GenerationInfo sourceFile="packages/dashboard/src/lib/components/shared/paginated-list-data-table.tsx" sourceLine="179" packageName="@vendure/dashboard" since="3.4.0" />

Returns the context for the paginated list data table. Must be used within a PaginatedListDataTable.

*Example*

```ts
const { refetchPaginatedList } = usePaginatedList();

const mutation = useMutation({
    mutationFn: api.mutate(updateFacetValueDocument),
    onSuccess: () => {
        refetchPaginatedList();
    },
});
```

```ts title="Signature"
function usePaginatedList(): void
```
