1.1.1 • Published 24 days ago

scroll-antd-table v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
24 days ago

scroll-antd-table

Summary

Automatically adjust the scroll-y attribute of the table based on page layout.

Example

https://jilangyangbo.github.io/scroll-antd-table/

Usage

Just need to replace the native antd Table component with scroll-antd-table.

import ScrollTable from 'scroll-antd-table'
...

<ScrollTable>
  dataSource={data}
  scroll={{x:true}}
  ...
  bottomHeight={0}
<ScrollTable/>

Props

Includes all the props of antd Table component.

additional props

PropDefaultTypeDescription
bottomHeight74numberThe distance between the table content and the bottom of the screen, such as the height of a pagenation or other component, the default value is 74
1.1.1

24 days ago

1.1.0

24 days ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago