I have created the sample by using this link https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist
Now I want to add Pagination in the grid. Please let me know the steps.
I have created the sample by using this link https://developer.microsoft.com/en-us/fluentui#/controls/web/detailslist
Now I want to add Pagination in the grid. Please let me know the steps.
You can use import { Pagination } from '@uifabric/experiments';
<Pagination
selectedPageIndex={page}
pageCount={pageCount}
onPageChange={onPageChange}
format
firstPageIconProps={{ iconName: 'DoubleChevronLeft' }}
previousPageIconProps={{ iconName: 'ChevronLeft' }}
nextPageIconProps={{ iconName: 'ChevronRight' }}
lastPageIconProps={{ iconName: 'DoubleChevronRight' }}
/>
© 2022 - 2024 — McMap. All rights reserved.
'@fluentui/react-experiments/lib/Pagination'
and the package is named @fluentui/react-experiments – Indwell