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 4.4k times
1 Answers
91
Just found it: Simply set pagination to false as below:
return (
<Table
rowKey="id"
columns={columns}
dataSource={data}
pagination={false}
/>
);

Niraj Kaushal
- 1,452
- 2
- 13
- 20

Timur Catakli
- 1,306
- 1
- 11
- 12
-
how to add my own custom component of pagination to antd Table after disabling the pagination – sasha romanov Feb 08 '20 at 03:55
-
1This limits the rows to 10. – waliurjs Mar 04 '20 at 07:31
-
3@wallurjs That's not true. At least not in the latest version of antd. – empz Dec 10 '20 at 16:48