Page range(goto) functionality not working

Page range(goto) functionality not working

wreckedwrecked Posts: 1Questions: 0Answers: 0
edited January 2012 in Plug-ins
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.

Replies

  • allanallan Posts: 61,635Questions: 1Answers: 10,092 Site admin
    I'm not aware of a 'g' plug-in for DataTables and it certainly isn't a core function (hence why there is no documentation for it!). It sounds like a plug-in that has been added to me and there is probably a bug in it somewhere. Does the source not indicate who the author of the plug-in is?

    Allan
This discussion has been closed.