Page range(goto) functionality not working
Page range(goto) functionality not working
Hi,
We are using datatables v1.6.2 in our project.
In one of our web pages, we have used datatables with page range functionality indicated by 'g' option of sDom
Following is the code snippet:
$('#tableOnDemandTrainingList').dataTable( {
"sDom": '<"top"lgp>t<"bottom"lgp',
"bAutoWidth": false,
"aoColumns": [null,null,null,null,{ "bSortable": false }],
"aaSorting": [[ 1, "desc" ]]
} );
The g option is the goto functionality which causes a page range dropdown to appear on the top and bottom of the data table.
However on changing the top dropdown page range value from 1-10 to 11-20, the bottom dropdown value must also change automatically but it doesn't.
Can anyone please tell me whether this is a known bug as i cannot find any info about the 'g' option in the documentation?
Has the goto functionality been dropped in the later versions of datatable?
Thanks in advance.
We are using datatables v1.6.2 in our project.
In one of our web pages, we have used datatables with page range functionality indicated by 'g' option of sDom
Following is the code snippet:
$('#tableOnDemandTrainingList').dataTable( {
"sDom": '<"top"lgp>t<"bottom"lgp',
"bAutoWidth": false,
"aoColumns": [null,null,null,null,{ "bSortable": false }],
"aaSorting": [[ 1, "desc" ]]
} );
The g option is the goto functionality which causes a page range dropdown to appear on the top and bottom of the data table.
However on changing the top dropdown page range value from 1-10 to 11-20, the bottom dropdown value must also change automatically but it doesn't.
Can anyone please tell me whether this is a known bug as i cannot find any info about the 'g' option in the documentation?
Has the goto functionality been dropped in the later versions of datatable?
Thanks in advance.
This discussion has been closed.
Replies
Allan