Jquery DataTable Horizontol Scroll -


am using jquery datatable(http://datatables.net). trying demo horizontol scroll bar

when set "sscrollx" property. datatable dom below one

<div class="datatables_scroll"> <div class="datatables_scrollhead" style="overflow: hidden; position: relative; border: 0px none; width: 100%;"> <div class="datatables_scrollbody" style="overflow: auto; width: 100%;"> <table id="resultsdatatable" class="datatable" style="margin-left: 0px; width: 110%;" aria-describedby="resultsdatatable_info"> <thead> <tbody> 

where getting multiple thead , ui messy. if remove fine wont horizontol scroll

what doing wrong ?

you aren't doing wrong - datatables has split table 2 when scrolling enabled (only way of doing across browsers), , keep column widths matched, thead element duplicated. visually should not see @ all. can link demo page showing problem?


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -