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

118
Views
Checkbox datatables with ajax

Hello I want a datatable with checkboxes. For the data in the table I'm using a ajax call. Can anyone help me because the table is not showing the checkboxes. All the rest of the data is showing perfect.

  $(document).ready(function () {
    $("#donaties").DataTable({
      ajax: {
        url: "fitness_2020.json",
        dataSrc: "",
      },
      columns: [
        { data: "Maanden" },
        { data: "Benchen" },
        { data: "Squatten" },
        { data: "Deadliften" },
      ],
      pageLength: 25,
      aaSorting: [],
    columnDefs: [ {
        orderable: false,
        className: 'select-checkbox',
        targets:   0
    } ],
    select: {
        style:    'os',
        selector: 'td:first-child'
    },
    order: [[ 1, 'asc' ]]
    });
    var table = $("#donaties").DataTable();
  });
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!