jquery - bootstrap with DataTables not stacking properly -


html:

<div class="container">     <div class="row" style="height: 512px">         <div class="col-sm-9">             <div class="firstdiv"></div>             <div class="datatableswrapper">                 <table id="mydatatable">                    <thead></thead>                    <tbody></tbody>                 </table>             </div>        </div>        <div class="col-sm-3 thirddiv"></div>    </div> </div> 

i trying put datatable within col-sm-9 class responsive , stack when resized. happens though stacks above col-sm-3 class div , blocks it. can't seem find examples how structure datatables responsive. want this:

   col-sm-9     col-sm-3 ------------- ------------- | firstdiv  | | thirddiv  | | height:50%| |height:100%|  ------------- |           | ------------- |           | | datatable | |           | | height:50%| |           | ------------- ------------- 

height percentage of row height.

i want ".thirddiv" stack beneath firstdiv , datatable. stacks behind datatable.

create 2 .row classes inside col-sm-9 , put first div , datatable on each row.

here sample 

https://plnkr.co/edit/akkeosteivajgl5i3e4i?p=preview


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -