Customize pagination

Customize pagination

tarang027tarang027 Posts: 1Questions: 0Answers: 0
edited February 2011 in General
Hello,
I am using below function on document.ready() method.

"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0,13 ] } ],
"bProcessing": true,
"bPaginate": true,
"bJQueryUI": true,
"iDisplayLength": 20,
"sPaginationType": "full_numbers",
"sAjaxSource": createSearch(),
"bServerSide": true,
"fnServerData": function(sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"type": "GET",
"url": sSource,
"data": aoData,
"success": fnCallback
});
}
});

the above code is working well. but i want to make customize pagination. eg. if i specify pagenumber : 2 then all data is display into 2 page. pagenumber:3 then the database start with 3 page. if pagenumber : 4 then data started with 4 pagination. ect.....
This discussion has been closed.