feat(data-table): support paginated data table (#880)

Closes #702
This commit is contained in:
kwieszalka-maystreet 2022-01-19 16:51:42 +01:00 committed by GitHub
commit 5da83ec869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 131 additions and 3 deletions

View file

@ -141,6 +141,18 @@ export interface DataTableProps
* @default false
*/
useStaticWidth?: boolean;
/**
* Specify the number of items to display in a page
* @default 0
*/
pageSize?: number;
/**
* Set to `number` to set current page
* @default 0
*/
page?: number;
}
export default class DataTable extends SvelteComponentTyped<