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

257
Vistas
Having a problem with jquery datatables proper pagination

Trying to work around problem with datatables pagination. The problem is:

  1. I have some code to initialize Datatable in Laravel:
<script>
        $(document).ready(function () {
            $('.js-dataTable-full').DataTable({
                ajax: {
                    "url": "{{ route('page.data') }}",
                    "type": "GET",
                },
                "autoWidth": false,
                "serverSide": true,
                "pageLength": 5,
                "bSort": false,
                "searching": true,
                // "order": [[1, "desc"]],
                "processing": true,
                "paging": true,
                "pagingType": 'full_numbers',
    .......................................
    Some text below
  1. The data is loaded correctly, however there's still an issue with pagination. enter image description here As you see, the pagination links are not active and cannot be clicked, though text on the left clearly says that there are only 5 of 8 entries on the page.
  2. In the json response total number of items is present:

Part of json response viewed from the browser tools

No ideas by now, so any help would be appreciated.

about 4 years ago · Juan Pablo Isaza
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