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
Post a Comment