DataTable RTL
DataTable RTL
raspoteen
Posts: 16Questions: 8Answers: 0
Hi, I want to translate this modal to RTL,
so the labels should be on the right and the input fields should be on the left,
How to do that ??
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It looks like Bootstrap doesn't yet have built in support for RTL. So you can add
dir="rtl"
in thehtml
tag, but the form won't layout correctly since you are using the Bootstrap theme.What I can find suggests that you use https://github.com/parsmizban/RTL-Bootstrap or wait for Bootstrap 4.1 or 4.2. Either way, this is something for Bootstrap.
Allan
@allan is there any embedded solution with dataTables ?
and how to change the words in the labels ???
The words are defined by the
field.label
option. DataTables core supports RTL, and I believe Editor does as well, but I can't read RTL languages myself, so any feedback you have is welcome. You could try using the DataTables CSS rather than the Bootstrap integration.Allan