Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

252
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!