Is it possible to define a wrapper?
Is it possible to define a wrapper?
Paykoman
Posts: 11Questions: 2Answers: 0
Hello,
i have large x-axis table, so i need a overflow-x: scroll; (auto is ok).
The solution is to put the table into a div (wrapper)
<div class="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-tl ui-corner-tr">... </div>
<div style="overflow: auto;">
<table>...</table>
</div>
<div class="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-bl ui-corner-br">...</div>
I have tested, that's what I want it to be.
But the Problem the dataTable work nothing more (sorting etc), so is my question how i can say to dataTables use an wrapper please.
I hope any body can help me.
Sorry for my bad english.
This discussion has been closed.
Answers
Ohh okay, i have found the scrollX option and has set it to true, works fine
But the t <tfoot> will be cloned and exsist now 2 times