react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

Pagination is missing this grid. How can I get pagination?

Open KalpanaPagariya opened this issue 9 years ago • 6 comments

HAVE YOU ALREADY SEARCHED FOR SIMILAR ISSUES? PLEASE HELP US OUT AND DOUBLE-CHECK FIRST!

ALSO, PLEASE DON'T BE THAT PERSON WHO DELETES THIS TEMPLATE. IT'S HERE FOR A REASON.

THANKS!

WHICH VERSION OF REACT ARE YOU USING?

Officially Supported:
[ ] v0.14.x
Community Supported:
[ ] v15.0.x

WHICH BROWSER ARE YOU USING?

Officially Supported:
[ ] IE 9 / IE 10 / IE 11
[ ] Edge
[ ] Chrome
Should work:
[ ] Firefox
[ ] Safari

I'm submitting a ... (check one with "x")

[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md

Current behavior

Expected/desired behavior

Reproduction of the problem If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem.

What is the expected behavior?

What is the motivation / use case for changing the behavior?

KalpanaPagariya avatar Dec 14 '16 06:12 KalpanaPagariya

There are no current plans to add pagination to grid. This is something that could be added to the addons package. We will accept a PR and would be happy to help if you would like to try build one

malonecj avatar Jan 05 '17 11:01 malonecj

Looking to this feature.

jcarva avatar Jul 28 '17 16:07 jcarva

+1

bostondevin avatar Aug 01 '17 12:08 bostondevin

+1

NourEldin275 avatar Aug 07 '17 11:08 NourEldin275

+1

alexeymakarov90 avatar Jan 31 '18 16:01 alexeymakarov90

@alexeymakarov90 can I ask why do you want a pagination for the grid since the grid can support large number render + filter?

And a possible way to do that is like this (just a concept). In this way you can handle your own pagination that you want.

const RDGWrapper = (rows) => {
   const rows = getFilteredRowsByPagination(props.rows);
   const rowGetter = (i) => rows[i];

   return (
     <div>
         <RDG rowGetter={rowGetter} />
         <Pagination />
     </div>
   );
};

qili26 avatar Jan 31 '18 16:01 qili26