Skip to content Skip to sidebar Skip to footer

Slimscroll And JQuery Datatable

Im trying to do mix them. use a slimlcroll with jQuery DataTable (no pagination). So, I found these examples: Nice simple use of slimscroll Nice Table Now I tried to make the conte

Solution 1:

Check the Updated JSFiddle :- JSFiddle

   <table id="example" class="display" cellspacing="0" width="100%">
       ....
       <tbody id="slimtest1">
          ......
       </tbody>
   </table>

CSS

thead, tbody { display: block; }

tbody {
   height: 200px;       /* For the demo  */
   overflow-y: auto;    /* Vertical scroll    */
   overflow-x: hidden;  /* Hide the horizontal scroll */
}

Post a Comment for "Slimscroll And JQuery Datatable"