bootstrap - datable
bootstrap - datable
![killingeyes](https://secure.gravatar.com/avatar/d63a74921fb71de00fd13b880f11168f/?default=https%3A%2F%2Fvanillicon.com%2Fd63a74921fb71de00fd13b880f11168f_200.png&rating=g&size=120)
Hi,
I am trying to use bootstrap with data tables using the css and js provided at following URL
http://datatables.net/blog/Twitter_Bootstrap_2
It adds the records per page and search text box and provides span=6 for both controls but my table is wrapped in a div that has span=10.
It screws the formatting and search box is not aligned properly.
Where in js or css provided in the example can I change the span value for these controls??
Please help!!!
I am trying to use bootstrap with data tables using the css and js provided at following URL
http://datatables.net/blog/Twitter_Bootstrap_2
It adds the records per page and search text box and provides span=6 for both controls but my table is wrapped in a div that has span=10.
It screws the formatting and search box is not aligned properly.
Where in js or css provided in the example can I change the span value for these controls??
Please help!!!
This discussion has been closed.
Replies
$('#example').dataTable( {
"sDom": "<'row'<'span5'l><'span5'f>r>t<'row'<'span5'i><'span5'p>>"
} );
} );[/code]