1.0.8 • Published 2 years ago

virtual-table-ant-design v1.0.8

Weekly downloads
28
License
ISC
Repository
github
Last release
2 years ago

virtual-table-ant-design

The virtual table based on ant-design@4.x is simple and easy to use, without changing the original table component.

Since peerDependencies are used, please make sure to use reac and antd in your project, see package.json for details.

The project was packaged by rollup, exported CommonJS and ESModule modules, and used prettier to beautify the code.

Try it out: https://codesandbox.io/s/awesome-virtual-table-wxqc9

Install

npm install -D virtual-table-ant-design

Usage

import { VList } from 'virtual-table-ant-design'
import { Table } from 'antd'

<Table
  rowSelection={rowSelection}
  pagination={false}
  rowKey="id"
  dataSource={dataSource}
  columns={columns}
  loading={loading}
  scroll={{ y: '50vh', x: true }}
  components={VList({
    height: 500,
  })}
/>

Document

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago