Ant-Design Table > How can I disable pagination and show all records

Timur Catakli picture Timur Catakli · Apr 24, 2018 · Viewed 13.8k times · Source

My questions is: Ant-Design Table > How can I disable pagination and show all records... Currently I can configure pagination component but I don't know how to disable it. Thanks

Answer

Timur Catakli picture Timur Catakli · Apr 24, 2018

Just found it: Simply set pagination to false as below:

return (
    <Table 
        rowKey="id" 
        columns={columns} 
        dataSource={data} 
        pagination={false} 
    />
);