Vertical Scrolling Example

Vertical Scrolling Example

denvildenvil Posts: 2Questions: 0Answers: 0
edited January 2013 in General
Hi,

I am somewhat new to datatables and I have the need to scroll through the data from datatables. It appears the vertical scrolling feature is straight forward but, when I place the "sScrollY" parameter and the "bPaginate" parameter it reacts the same as if these 2 lines of code were not entered. I have already verified the parameters in my style sheets are within the boundaries in the "sScrollY" parameter.

Here is my code :

var oTable = $('#mainTable').dataTable( {
"sScrollY": "400px",
"bPaginate": false,
"bInfo": false,
"bSortClasses": false,
"aaSorting": [[ 2, "asc" ]],
"aoColumns": [
{"sWidth" : "2px"},
{"sWidth" : "125px"},
{"sWidth" : "175px"},
{"sWidth" : "50px"},
{"sWidth" : "50px"},
{"sWidth" : "50px"},
{"sWidth" : "200px"}
],
iDisplayLength:3000
} );


Thanks for any help...
This discussion has been closed.