DataTable paging procedure not showing continuous index numbers...! Now am showing 10 items per page, For the first page the Data-table serial numbering generates correctly from 1-10.. But every pages shows from 1 to 10 numbering, need to display continuous numbering from the second page, like 11,12... Am using the following code for Datatable.
Any help would be appreciable,
Thank you
<script>
$(document).ready(function(){
var t = $("#table_details").DataTable({
"pagingType" : "full_numbers",
"processing" : true,
"searching" : true,
"serverSide" : true,
"ajax" :{"url" : "../dataTable/serversideContacts.php",
"type": "post",
"data": { "uid" :'.$uid.',"gid" :'.$group_id.',"sid" :'.$site_id.'},
},
"columnDefs": [ {"searchable": false,"orderable": false,"targets": [0,3,4]} ],
"order": [[ 1, "asc" ]],
"language": {
"info": "Showing page _PAGE_ of _PAGES_"
}
});
t.on( "order.dt search.dt processing.dt", function (){
t.column(0,{ search:"applied", order:"applied" }).nodes().each( function (cell, i)
{cell.innerHTML = i+1; });
}).draw();
});
</script>