Hello all,
I just started using DataTables and I'm having some trouble getting Scroller plugin to work. This is my configuration:
DataTables renders the first 10 rows of data, but when I start scrolling grid is empty even though there is 3000 objects in data array. When I set the bPaginate parameter to false, everything gets rendered at once.
What am I missing?
Thanks!
I just started using DataTables and I'm having some trouble getting Scroller plugin to work. This is my configuration:
$("#sg2").dataTable({
"aaData": data,
"bDeferRender": true,
"sScrollY": "200px",
"bPaginate": true,
"bFilter": false,
"sDom": "frtiS",
"bInfo": true,
"aaSorting": [],
"aoColumns": [
{ "sTitle": "SecCode", "mData": "SecCode" },
{ "sTitle": "Price", "mData": "Price" },
{ "sTitle": "Quantity", "mData": "Quantity" },
{ "sTitle": "Value", "mData": "Value" },
{ "sTitle": "Time", "mData": "Time" },
{ "sTitle": "Number", "mData": "Number" }
]
});
DataTables renders the first 10 rows of data, but when I start scrolling grid is empty even though there is 3000 objects in data array. When I set the bPaginate parameter to false, everything gets rendered at once.
What am I missing?
Thanks!