SearchBuilder RTL support
SearchBuilder RTL support
jonags
Posts: 4Questions: 1Answers: 0
Link to test case:
http://live.datatables.net/luzexopi/1/edit
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Hi guys,
Do you plan to implement RTL to searchBuilder ? Currently the RTL doesn't work at all as expected on searchBuilder and we can't manage that by CSS because many elements styles are calculated on events.
See example above.
Thanks.
Answers
It isn't on the work list at the moment, but I would warmly welcome a pull request that adds support for RTL.
Allan
Sorry but i am not able to make this changes into the searchBuilder extension.
Very sad that DataTables support RTL but not SearchBuilder, so we can't use it on RTL projects.
If there is demand for it, or someone (yourself?) would like to sponsor the development of it, then I'll be able to prioritise it. But at the moment, there is such a backlog, I'm afraid there are a few other things that I need to work on first. Sorry.
Allan
No problem.
Hope some others would request the same thing
For those who need the same thing, here is a temp solution.
Ps : Tested only with Bootstrap 5 datatables files and searchBuilder as a button.
Add in your rtl css file this content :
And add in a new JS file that you will load after datatables :
Superb - thanks for sharing that with us!
Allan
Thanks a lot, your solution works like a charm when browsing in PCs, but buttons don't appear normally when browsing in mobiles.