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

172
Visualizações
Editing multiple lines at once / bulk editing with Tabulator.js

I'm using tabulator.js to display and manipulate data in form of a table. How can I edit multiple lines of data at once with tabulator? For example, if I have a table of items, with the columns name and price, and I want to change the price of multiple entries to the same value.

The goal is to mark the fields I want to edit and type or select the new value, which should be changed for all the selected entries. I didn't find anything about multiline editing / bulk editing in the editing part of the documentation. Can this be achieved in any way?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

There is no built I way to achieve this.

You could get all the table rows using the getRows function, then itterate over each row calling the update function on the row component to update the rows data.

var rows = table.getRows();

rows.forEach((row)=>{
    row.update("name":"steve"); //update the name of each row to steve;
});

This has a bit of a downside in that it will trigger an update of the table with each row update.

To get round this and make things a bit more efficient you could call the blockRedraw before the updates, then call the restoreRedraw function after, that way the table will only be redrawn once.

var rows = table.getRows();

table.blockRedraw();

rows.forEach((row)=>{
    row.update("name":"steve"); //update the name of each row to steve;
});

table.restoreRedraw();
about 4 years ago · Juan Pablo Isaza Relatório
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