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

108
Views
Data summary with DataTables

Hello cordial greetings I have a problem when doing an activity.

What I would like to do is a summary of data in a new table that according to the person in charge shows me the activity count: I show an image of how I want to show it:

enter image description here

obtaining from the data that I have in my main table.

enter image description here

I use laravel where by means of a controller I obtain the data of my main table and This is my script to implement the datatable

<script> 
  $(document).ready(function(){
    var tableadmin = $('#admin').DataTable({
      processing: true,
      serverSider: true,
      ordering: false,
      "pageLength": 10,
      "lengthMenu": [[5,10,50,-1], [5,10,50,"All"]],
      "autoWidth": false,
      "language":{
        "url": "//cdn.datatables.net/plug-ins/1.10.21/i18n/Spanish.json"
      }
    });
    //FILTERS
    $('.filter-input').keyup(function(){
      tableadmin.column($(this).data('column'))
      .search($(this).val())
      .draw();
    });
    $('.filter-select').change(function(){
      tableadmin.column($(this).data('column'))
    .search($(this).val())
    .draw();
    });
    $('input:checkbox').on('change', function () {
    var offices = $('input:checkbox[name="adm"]:checked').map(function() {
      return this.value;
    }).get().join('|');
    tableadmin.column(7).search(offices, true, false, false).draw();
    });
    //FIN FILTERS
  });
</script>

Could you tell me or guide me on how to implement this new chart, thank you in advance for any help.

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!