22

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

Timur Catakli
  • 879
  • 1
  • 7
  • 10

1 Answers1

63

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

return (
    <Table 
        rowKey="id" 
        columns={columns} 
        dataSource={data} 
        pagination={false} 
    />
);
Niraj Kaushal
  • 1,337
  • 1
  • 9
  • 18
Timur Catakli
  • 879
  • 1
  • 7
  • 10