Avatar of Peter Kroman
Peter Kroman
Flag for Denmark

asked on 

DataTables and DOM

Hi,

I am using DataTables and it is working nicely.

I would like to locate the Search (Filter) and the Info blocks at the top over the table.
I can do that, but the problem is that they are displayed in two lines, and I would very much like them to display in the same line - one to the left and one to the right over the table.

I use tihs js code:
            $('#tdata').DataTable({searching: true, paging: false, info: true, "dom": '<"top"<if>rt<"clear">', order: []});

Open in new window


and it looks like this:
Sk-rmbillede-2017-11-06-14.38.28.png
JavaScript

Avatar of undefined
Last Comment
Peter Kroman

8/22/2022 - Mon