35

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
  • 1,306
  • 1
  • 11
  • 12

1 Answers1

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