Open thundermiracle opened 7 years ago
@thundermiracle sorry, the pagination part is not able to fully customization well yet, so I guess you requirement will be little hard to implement.
@AllenFang Thank you for your reply! What about change
{ showPaginationOnBottom ? pagination : null }
to
{ showPaginationOnBottom ? renderPagination(Const.PAGINATION_POS_BOTTOM) : null }
and then pass it to the PaginationList?
renderPagination(position) {
<PaginationList position={position} />
}
In my opinion, making different pagination on top and bottom is a quite useful feature.
Forget my plan. The state control will become complicated
ok, I'll try to make pagination more customizable in the future. thanks
@AllenFang any update on this
I'd like to fully customize the paginationPanel and tried to show [totalText], [sizePerPageDropdown], [pageList] on top, but only show [pageList] on bottom. Is it possible to do it now? How about pass position parameter like 'bottom' / 'top' to [paginationPanel] option?