Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Datatable horizontal scroll - bug

dtremblay.grt premium asked 5 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 commented 5 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 free commented 3 years ago

facing the same issue, so what css hacks did you use?


Piotr Glejzer staff answered 5 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 free commented 3 years ago

so was this bug ever fixed? I meeting the exact same problem


Piotr Glejzer staff commented 3 years ago

what version do you use?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.20.0
  • Device: All
  • Browser: Chrome
  • OS: All
  • Provided sample code: No
  • Provided link: Yes