My questions are Ant-Design Table > How can I disable pagination and show all records... Currently, I can configure the pagination component but I don't know how to disable it. Thanks
Asked
Active
Viewed 1.8k times
1 Answers
63
Just found it: Simply set pagination to false as below:
return (
<Table
rowKey="id"
columns={columns}
dataSource={data}
pagination={false}
/>
);
![](../../users/profiles/4650675.webp)
Niraj Kaushal
- 1,337
- 1
- 9
- 18
![](../../users/profiles/5553018.webp)
Timur Catakli
- 879
- 1
- 7
- 10
-
how to add my own custom component of pagination to antd Table after disabling the pagination – sasha romanov Feb 08 '20 at 03:55
-
This limits the rows to 10. – waliurjs Mar 04 '20 at 07:31
-
2@wallurjs That's not true. At least not in the latest version of antd. – empz Dec 10 '20 at 16:48