Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

107
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda