Default layout - migration help
Default layout - migration help
itajackass
Posts: 162Questions: 48Answers: 3
Hi, i'd like to migrate from my actually situation:
$.extend( $.fn.dataTable.defaults, {
"dom": "<'row-fluid'<'span6'B><'span6'f>r>t<'row-fluid'<'span6'i><'span6'p>>"
} );
to the new "layout" syntax.
I tried to use this:
$.extend( $.fn.dataTable.defaults, {
"layout": { topStart: 'buttons', topEnd: 'search' }
} );
But the result is not as expected. CSS of my theme broke the layout.
How can I put the "buttons" inside the "span" (and "span" inside "row-fluid") of my old syntax? Thanks
This question has an accepted answers - jump to answer
Answers
Nevermind, i modified my css theme. All is ok now.
But i'm curious to know how to insert custom "div/span/etc.." with predefined string like "buttons. search, etc... thanks"
Currently there is no option to do that with
layout
. I'm going to look at how it might be possible to add it for 2.1.Allan