datatables-rowsgroup icon indicating copy to clipboard operation
datatables-rowsgroup copied to clipboard

Multiple Tables

Open Neryes1 opened this issue 4 years ago • 0 comments

Hi everybody, I use RowsGroup and I think it should work perfect fine. I got this issue using Multiple Tables, the first table works right. The second one doesnt. and in console throws 'Uncaught RangeError: Maximum call stack size exceeded'.

I dont know what to do anymore. If I fix it, my project will be ok.

Here's my code:

`$(document).ready(function () {

  var table = $('table.tabela').DataTable({


    'columnDefs': [
      {
        'targets': [1, 2, 3, 4, 5],
        'orderable': false,
        'searchable': false
      }
    ],
    'rowsGroup': [0],

    "language": {
      "sEmptyTable": "Nenhum registro encontrado",
      "sInfo": "", //"Mostrando de _START_ até _END_ de _TOTAL_ registros",
      "sInfoEmpty": "", //"Mostrando 0 até 0 de 0 registros",
      "sInfoFiltered": "", //"(Filtrados de _MAX_ registros)",
      "sInfoPostFix": "",
      "sInfoThousands": ".",
      "sLengthMenu": "_MENU_ resultados por página",
      "sLoadingRecords": "Carregando...",
      "sProcessing": "Processando...",
      "sZeroRecords": "Nenhum registro encontrado",
      "sSearch": "Pesquisar",
      "oPaginate": {
        "sNext": "Próximo",
        "sPrevious": "Anterior",
        "sFirst": "Primeiro",
        "sLast": "Último"
      },
      "oAria": {
        "sSortAscending": ": Ordenar colunas de forma ascendente",
        "sSortDescending": ": Ordenar colunas de forma descendente"
      },
      "select": {
        "rows": {
          "0": "Nenhuma linha selecionada",
          "1": "Selecionado 1 linha",
          "_": "Selecionado %d linhas"
        }
      },
      "buttons": {
        "copy": "Copiar para a área de transferência",
        "copyTitle": "Cópia bem sucedida",
        "copySuccess": {
          "1": "Uma linha copiada com sucesso",
          "_": "%d linhas copiadas com sucesso"
        }
      }
    },
    scrollY: false,
    scrollX: true,
    scrollCollapse: true,
    paging: false,
    fixedColumns: true,
    order: [],
    columns: [
      { "orderable": false },
      { "orderable": false },
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      { "orderable": false },
      { "orderable": false },
    ]
  });

}); `

Neryes1 avatar Oct 27 '20 12:10 Neryes1