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

106
Vistas
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
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