Is it possible to define a wrapper?

Is it possible to define a wrapper?

PaykomanPaykoman Posts: 2Questions: 1Answers: 0
edited October 2018 in Free community support

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.

Answers

  • PaykomanPaykoman Posts: 2Questions: 1Answers: 0

    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 :(

This discussion has been closed.