proper use of scrollX and scrollY
proper use of scrollX and scrollY
beebek
Posts: 20Questions: 1Answers: 0
I have a huge table with many rows (exceeding the browser page), and many columns(around 40).
I am also using colVis and multi select feature as well. All working fine.
But while including the "sScrollX' and "sScrollY', and using the colVis to deselect some columns, the multirows dropdown gets disappear.
I am simply using them as
"sScrollY" : 100,
"sScrollX" : "1000%",
I am also using colVis and multi select feature as well. All working fine.
But while including the "sScrollX' and "sScrollY', and using the colVis to deselect some columns, the multirows dropdown gets disappear.
I am simply using them as
"sScrollY" : 100,
"sScrollX" : "1000%",
This discussion has been closed.
Replies
Try using this.
$(document).ready(function() {
$('#example').dataTable( {
"sScrollY": 200,
"sScrollX": "100%",
"sScrollXInner": "110%"
} );
} );
or for the additional columns use this feature.
http://datatables.net/release-datatables/examples/server_side/row_details.html
I like to use this for showing the additional columns.
Cheers...
Also don't use sScrollXInner - I was wrong putting that in at all and I'm thinking of removing it. The 1.10 examples certainly will not use it.
If you are having problems with scrolling, please link to a test case as noted in the forum rules.
Allan