Replies: 1 comment
-
V6 support is deprecated. Please use the discussions tab to discuss deprecated versions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
To add scroll bar i have added the style for the React table like below,
<ReactTable

data={this.state.data}
columns={columns}
pages={this.state.pages}
defaultPageSize={this.state.defaultPageSize}
className="-striped -highlight"
loading={this.state.loading}
style={{
height:"300px"
}}
/>
So the problem is solved, it added the scrollbar.
But after this i have faced some issue, all the column data moved to left little bit. it is because of the scrollbar.
For me scrollbar should add but it should not move data because of this.
You can check close in attached image. Can you help me here ?
Beta Was this translation helpful? Give feedback.
All reactions