Topic: Datatable horizontal scroll - bug
dtremblay.grt
premium asked 2 years ago
Expected behavior Datatable horizontal scroll should scroll the whole table, not just the body
Actual behavior Datatable horizontal scroll scrolls the body making the TH overflow, cut and which does not follow the body when scrolled. This makes it impossible to identify which column the data is for without CSS hacks
Resources (screenshots, code snippets etc.) https://mdbootstrap.com/docs/react/tables/scroll/
Piotr Glejzer
staff answered 2 years ago
It's a bug in our docs. I tested it in our packages and everything is working well. The header is scrolling horizontally.
ahmed twabi commented 1 months ago
so was this bug ever fixed? I meeting the exact same problem
Piotr Glejzer staff commented 1 months ago
what version do you use?
Answered
- User: Free
- Premium support: No
- Technology: React
- MDB Version: 4.20.0
- Device: All
- Browser: Chrome
- OS: All
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 2 years ago
Yes, it is. You are totally right. It's a bug. I added task to fix it. Thanks for the report. Have a nice day.
ahmed twabi commented 1 months ago
facing the same issue, so what css hacks did you use?