Hi,
thanks for your post, and sorry for the trouble.
1) Unfortunately, no. This simply is caused by the changing heights. The only suggestion that I can make here would be to move the pagination buttons to the top of the table. For that, you can add this to the “Custom Commands” text field on the table’s “Edit” screen:
"dom": "lfrpti"
(see https://datatables.net/reference/option/dom for the documentation on this).
2) The difference essentially is the technical way how the scrolling is added. The checkbox does it with JavaScript code, the scroll mode with just CSS code. This is especially useful if no other JavaScript features are used, as not JS would have to be loaded then.
Regards,
Tobias
Thread Starter
pre20
(@pre20)
Ok, thanks! I already have one of those dom on my table, how to make both work at same time? I added on different lines and only works the first one.
Hi,
if you already have one, you’ll just need to move the letter p to before the letter t.
Regards,
Tobias
Thread Starter
pre20
(@pre20)
I tried it but I don’t understand what do you mean as the other dom doesn’t have p and t.
I would like to use this two together: “dom”: “lfrtBip” & “dom”: “lfrpti”
Thanks
Hi,
I mean the letters in the value of the "dom" command 🙂 Just move the letters there to new positions, i.e. use
"dom": "lfrptBi"
for example.
Regards,
Tobias