Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

272
Vistas
DataTables - Set how many pagination links display

using DataTables, how can I set the number of pagination links that display? As seen in below screen shot, I would like to limit the buttons to only a few so prevent it from being so long.

enter image description here

I am sure this is possible, I'm just not sure what to even look for as the option for setting it. I would prefer to only show FIRST,PREVIOUS,1,2..29,NEXT,LAST

$.fn.DataTable.ext.pager.numbers_length = 7;

and it does not work.

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Is this what you are looking for:

enter image description here

http://live.datatables.net/biyoqesi/98/edit

$(document).ready( function () {
  $.fn.DataTable.ext.pager.numbers_length = 4;
  var table = $('#example').DataTable({"pagingType": "full_numbers"});
} );
about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda