bootstrap - datable
bootstrap - datable
killingeyes
Posts: 1Questions: 0Answers: 0
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]