Front-end
[ antd ] antd table 의 pagination 한 페이지 열 갯수 설정하기
질서정연_
2023. 6. 19. 13:26
<Table
columns={messageColumns}
dataSource={messageData}
pagination={{ pageSize: 10 }}
size="small"
/>
이렇게 pagination = {{pageSize: 10}}
넣어주면 한 페이지에 pageSize만큼의 열이 들어간다.
참조
https://github.com/ant-design/ant-design/issues/7477
How can we define the number of rows per page on the table pagination? like 10, 25, 50 etc · Issue #7477 · ant-design/ant-desi
What problem does this feature solve? If we can define the number of rows per page on the table pagination, So we can set a number of rows on the same page according to user wish. What does the pro...
github.com