Anshul
Anshul

Reputation: 116

Jump to page functionality with Jquery Datatable

I am working in JQuery Datatables Server Side Script. Every thing is working perfectly. My requirement is jump to page by implement select box in bottom, it shouuld also generate from script.

Is this functionality is present with datatable or not. Because in my database thousands of data present and i want move direct on certain page without click on page numbers on paginations.

Upvotes: 2

Views: 4628

Answers (1)

K D
K D

Reputation: 5989

Provided you are using jQuery datatable https://datatables.net/

You can check this plugin and use for this feature.

jQuery Datatable Pagination

After including this plugin, you just need to add following script.

$(document).ready(function() {
      $('#YourDataTable').dataTable( {
          "sPaginationType": "listbox"
      } );
  } );

Upvotes: 2

Related Questions