Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

218
Vistas
Restrict adding multiple blank rows in tabulator

I am using tabulator in Angular.I wanted to add new blank row on a button click, so I am adding a new row by using this.table.addRow({}); But every time I click on button, its adding blank row. But I don't want multiple blank rows to be added in Table. Can I prohibit adding blank row if already one blank row is added? How I can find out number of blank rows in table ?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Tabulator itself has no concept of a "blank row" all, rows are just objects and the table will visualize the data contained in those objects.

But you could use the searchRows function with a custom filter to retrieve the empty rows and check this before triggering the addRow function:

var emptyRowCount = table.searchRows((data) => { return Object.keys(data).length }).length
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda