@dhis2/ui Table pagination support

I am looking here at the DataTable and I am not seeing any options for pagination support at the moment, am I missing something or is this a feature that requires development?

Hey @plinnegan,
May I make a guess please? (: I think since pagination is general and not specific for only DataTables then it has its own component. Please see here: Storybook

Am I right? :smiley: I mean does it work to use the options from the navigation-pagination along with the options from the DataTable? Thanks…

1 Like

This is perfect thank you! :+1:

1 Like

You’re welcome! :grin:

Could a story be added that uses the table with the pagination component? Just to help out others who might not know it’s a separate component? It makes total sense to have it separate, I was just used to UI libraries like Antd and Material UI where the paging is included.

1 Like

That’s really great! Please have a look at the contributing doc in the GitHub repo (ui/CONTRIBUTING.md at master · dhis2/ui · GitHub).

1 Like