Datatable horizontal scroll - bug

Topic: Datatable horizontal scroll - bug

dtremblay.grt premium asked a year 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.)

Piotr Glejzer staff commented a year 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 3 days ago

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

Piotr Glejzer staff answered a year 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 3 days ago

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

Piotr Glejzer staff commented 3 days ago

what version do you use?

Please insert min. 20 characters.


Specification of the issue
  • 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