Add following line of code into your datatable definition
"fnDrawCallback":function(oSettings){
var totalFoundRecords = oSettings._iRecordsDisplay;
if((totalFoundRecords!=null && totalFoundRecords>0) == false){
$(oSettings.nTableWrapper).find('.dataTables_paginate').hide();
}
},
"fnDrawCallback":function(oSettings){
var totalFoundRecords = oSettings._iRecordsDisplay;
if((totalFoundRecords!=null && totalFoundRecords>0) == false){
$(oSettings.nTableWrapper).find('.dataTables_paginate').hide();
}
},
No comments:
Post a Comment