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

293
Visualizações
Tabulator ReactiveData Error on Re-render Cannot redefine property: push

I'm experiencing an error with tabulator using ReactiveData in a React/redux Project using webpack. I have an array of objects being fed to the table constructor through the data key.

The table appears to work properly, however when I open a modal (modal is opened using a UI reducer), or navigate away from the page and back to the page (using hash-router), the table disappears and I receive the following error in the console.

I believe what is happening is that on re-render of the table, reactiveData is trying to re-add properties that it has already added to the array and this is causing the error.

I've tried re-assigning the array as a copy of itself upon reload, but this doesn't appear to have the desired effect as reactiveData no longer works (the table is not uploaded properly)

Any thoughts would be helpful. Thanks in advance!

tabulator.es2015.js:21383 Uncaught (in promise) TypeError: Cannot redefine property: push at Function.defineProperty () at ReactiveData../node_modules/tabulator-tables/dist/js/tabulator.es2015.js.ReactiveData.watchData (tabulator.es2015.js:21383) at RowManager../node_modules/tabulator-tables/dist/js/tabulator.es2015.js.RowManager._setDataActual (tabulator.es2015.js:3023) at tabulator.es2015.js:2998 at new Promise () at RowManager../node_modules/tabulator-tables/dist/js/tabulator.es2015.js.RowManager.setData (tabulator.es2015.js:2983) at Tabulator../node_modules/tabulator-tables/dist/js/tabulator.es2015.js.Tabulator._loadInitialData (tabulator.es2015.js:7610) at Tabulator../node_modules/tabulator-tables/dist/js/tabulator.es2015.js.Tabulator._create (tabulator.es2015.js:7377) at new Tabulator (tabulator.es2015.js:6858) at renderTable (main_table.js:697)

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