iDisplayStart on initialization doesn't work when Processing is Server Side
iDisplayStart on initialization doesn't work when Processing is Server Side
cuss
Posts: 1Questions: 0Answers: 0
Hi all, i'm using now the nightly build of DataTables, because none of the older versions worked with this.
I have the talbe search beeing processed by my server so i can save the search and reprocess with other aplications. Once a search is done, if the user refresh the page, i wan't him to see his last search. When the page is reloaded, everything comes up perfectly except the 'iDisplayStart', that seems to do nothing.
Above is one of the codes the server processed (pagination is 10 rows of length, page 3)
$('#clients').dataTable({
'bProcessing': true,
'bServerSide': true,
'sAjaxSource': '/client/search',
'aaSorting': [[4,"desc"]],
'iDisplayStart': 20,
'iDisplayLength': 10,
'aoColumns': [
null,
null,
null,
{ 'sType': 'currency' },
{ 'sType': 'currency' },
{ 'bSortable': false },
],
'sPaginationType': 'full_numbers',
'sDom': '<"dataTables_header"lfr>t<"dataTables_footer"ip>'
});
Thanks in advance to all developers in this project for this useful plugin for jQuery!
I have the talbe search beeing processed by my server so i can save the search and reprocess with other aplications. Once a search is done, if the user refresh the page, i wan't him to see his last search. When the page is reloaded, everything comes up perfectly except the 'iDisplayStart', that seems to do nothing.
Above is one of the codes the server processed (pagination is 10 rows of length, page 3)
$('#clients').dataTable({
'bProcessing': true,
'bServerSide': true,
'sAjaxSource': '/client/search',
'aaSorting': [[4,"desc"]],
'iDisplayStart': 20,
'iDisplayLength': 10,
'aoColumns': [
null,
null,
null,
{ 'sType': 'currency' },
{ 'sType': 'currency' },
{ 'bSortable': false },
],
'sPaginationType': 'full_numbers',
'sDom': '<"dataTables_header"lfr>t<"dataTables_footer"ip>'
});
Thanks in advance to all developers in this project for this useful plugin for jQuery!
This discussion has been closed.
Replies
Allan