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

475
Vistas
In handsontable after select a day from date picker new row added

I'm using handsontable version 10, I have a issue after selecting a date from date picker it will added a new row. How I can disable that? But I need to get a new row with "enter key"

any one can test with this code,

document.addEventListener("DOMContentLoaded", function() {
var container2 = document.getElementById('example2'),
hot2;


hot2 = new Handsontable(container2, {
data: Handsontable.helper.createSpreadsheetData(5, 5),
colHeaders: true,
minSpareRows: 1,
columns: [
    {
        type: 'date',
        dateFormat: 'MM/DD/YYYY',
        correctFormat: true,
        datePickerConfig: {
            firstDay: 0,
            showWeekNumber: true,
            numberOfMonths: 1,
            licenseKey: 'non-commercial-and-evaluation',
            disableDayFn(date) {
                // Disable Sunday and Saturday
                return date.getDay() === 0 || date.getDay() === 6;
            }
        }
    },
    {
        type: 'text',
    },
    {

    },
    {

    }
    ]  });});
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

In your settings, there's a minSpareRows: 1 which adds a new line in the table each time you feel any of those cells in the last row

Handsontable adds a new row with minSpareRows

so when you pick a date in the cell index 5 app automatically adds a new row.

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