scroll-antd-table
v1.1.1
Published
## Summary <br>
Downloads
6
Readme
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
| Prop | Default | Type | Description |
| :------------ |:---------------:| :---------------:| :-----|
| bottomHeight | 74 | number
| The 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 |