Datatable and RTL


Topic: Datatable and RTL

sody pro premium priority asked 4 months ago

Expected behavior

datatable shows nicely in RTL mode

Actual behavior

scroll isn't working good, not even fixed columns, also pagination isn't shown propely

Resources (screenshots, code snippets etc.)

https://mdbootstrap.com/snippets/standard/sody/6130764#html-tab-view


Kamila Pieńkowska staff answered 4 months ago

RTL does not work in snippets.

To use it locally you need to import rtl stylesheet. Here is instruction and demo on RTL: https://mdbootstrap.com/docs/standard/getting-started/rtl/


sody pro premium priority commented 4 months ago

Hi,

I am using rtl stylesheets.. its the same behaviour as in tge snippet.that why I opened the ticket in the first place.

Sami


Kamila Pieńkowska staff commented 4 months ago

what are tge snippets?

We do not support our code running in outside snippet enviroment.


sody pro premium priority commented 4 months ago

tge was mistake :) "the" snippets...

your code running in production in my enviroment there where I check and use it... your statement you don't support ouside of snippets is not acceptable...

please do the same checks using the rtl css in your local enviroment and verify the problem

thank you


Kamila Pieńkowska staff commented 4 months ago

By We do not support our code running in outside snippet enviroment. I meant that some client run our code in code playgrounds that blocks outside packages.

I've tested your snippet locally and it works. Adding dir="rtl" style="direction: rtl" to body tagg is not neccessary. Do you use <!DOCTYPE html> tag?


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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.3.0
  • Device: DESKTOP
  • Browser: CHROME
  • OS: WINDOWS
  • Provided sample code: No
  • Provided link: Yes