pagination
pagination copied to clipboard
Hide lastPage
Hello, It would be nice to make a bool prop to hide the last page, because when we have too much data, we prefer not to go to the last indexes ( like google do ) There is a closed issue for this, but I did not succeed to make it using itemRender.
Thank you,
I have made a workaround for this, maybe it can helps. we add on className prop : className={classNames({"hide-last-pager" : totalRequestsCount>10000 ? true : false})} and in css we add : .hide-last-pager li:nth-last-child(2) { display: none; }
Yes I agree that we should have this option