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

195
Vistas
Slickgrid: Make newly added columns same width as others

I have a Slickgrid with multiple columns. None of them have a width value, so they all automatically have equal widths.

I initiate the grid and, depending on the situation, will add more columns to the grid using grid.setColumns().

The grid adds the columns correctly, but they are less wide than all the other previously created columns.

enter image description here

As you can see, the "Stream" column is smaller than the others.

How can I set the newly added column's width equal to the other's width?

Edit: My Version is Slickgrid v2.3

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

0

If you want it to resize as it would when loading the grid without any defined width then you can call the following (which is the same as what the option "Force Fit Columns" would do but only once)

grid.autosizeColumns();

or if you want to provide a fixed width and see it applied in the grid, then you can call

let shouldReRender = true;
grid.reRenderColumns(shouldReRender);
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