Scrolling With Bootstrap Produces Narrow Header
Scrolling With Bootstrap Produces Narrow Header
greggbolinger
Posts: 3Questions: 0Answers: 0
I'm using DataTables 1.9 with Bootstrap2. I've read the articles on getting it up and running and everything has been working great until I had vertical scrolling. When I do this I get the following look: https://dl.dropbox.com/u/116330/Screen%20Shot%202012-06-16%20at%208.06.00%20PM.png
My table is initialized like so:
[code]
$('#scenarioDomainTable').dataTable({
"bScrollCollapse": true,
"bPaginate":false,
"sScrollY": "200px",
"bSort":false,
"bInfo":true,
"bAutoWidth":false
});
[/code]
My table is initialized like so:
[code]
$('#scenarioDomainTable').dataTable({
"bScrollCollapse": true,
"bPaginate":false,
"sScrollY": "200px",
"bSort":false,
"bInfo":true,
"bAutoWidth":false
});
[/code]
This discussion has been closed.
Replies
Allan
http://www.greggbolinger.com/DT/index.html
i will try to link here in shortest time.
call
[code]
$('#tablename').dataTable().fnSort( [ [0,'asc']] );
[/code]
it is just like enable sorting and click a column :-)
but again it must be a better solution.