Loading few records at page load

Loading few records at page load

MayurPMayurP Posts: 23Questions: 4Answers: 0
edited August 2014 in Free community support

Hi All,

We have total 400 records in datatable and we are using below attributes for loading only 20 records but Datatable is calling rowCallback for 400 records

So, Are we missing any attribute for loading only 20 records at page load??

We are using client side datatable for loading data.

Attributes:-
"bSortCellsTop": true,
"bScrollCollapse": true,
"sScrollY": "130px",
"bProcessing": true,
"bScrollInfinite": true,
"iDisplayLength": 20,
/* "sScrollY": "100px", */
"aaSorting": [],
"bFilter":true,
"bPaginate": false,
"bInfo":false,
"sAjaxSource": "<%= getPRRecords %>",
"bDeferRender": true,
"sDom": 'Rlfrtip', // Reorder columns by draging on UI
"oColReorder": {
"aiOrder": ${orderList},
"fnReorderCallback": function () {
<portlet:namespace/>oBlView.fnDraw();
}
},

Please provide your inputs.

Thanks.

This discussion has been closed.