Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Tables #35

Open
Neryes1 opened this issue Oct 27, 2020 · 0 comments
Open

Multiple Tables #35

Neryes1 opened this issue Oct 27, 2020 · 0 comments

Comments

@Neryes1
Copy link

Neryes1 commented Oct 27, 2020

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 },
    ]
  });

});
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant