How to space and align the information, pagination, search, etc.
How to space and align the information, pagination, search, etc.
This question has accepted answers - jump to:
This discussion has been closed.
This question has accepted answers - jump to:
Answers
It looks like you might be using Bootstrap 4, is that correct?
What does your
dom
look like. You can see an example using BS 4 here:https://datatables.net/reference/option/dom#Styling
There could be many reasons for the layout issues. In order for us to help we would need to see what you have. Please provide a link to your page or a test case replicating the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Yes bootstrap4
I work on a page for you.
Ok I have a page for you to look at...
live.datatables.net/huqaqopi/3/edit
I forgot to change "sticky" to fixed.
live.datatables.net/fecenamu/1/edit
Hi @th3t1ck ,
Is this an issue still, or did you resolve it?
Cheers,
Colin
Still an issue
If you want a quick hack, then you could use:
However, a proper fix, would be to use Bootstrap's grid layout with vertical alignment since you are defining your own
dom
option.Allan
Thank you Allan. Can you provide an example of setting the DOM elements using Bootstrap please?
Hi @th3t1ck ,
This tutorial may help - seems to have a few good examples there.
Cheers,
Colin
Thank you Colin.