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

198
Vistas
Grid Stack Widgets sorting Issue with Vue JS

We are using GridStack Widgets plugin in Vue JS for creating dynamic widgets and it's working fine.

However, on new widgets creation we are setting 'Y' values as widgets.length + 120. New widget added at the bottom of page with incremented in 'Y' value etc: (121, 122, 123) which is the correct case.

but on page load GridStack sort widgets on the basis of 'Y' value with descended order and all widgets get sorted like: 123, 122, 121 ... and high value of 'Y' came up on top.

I want to revers this sorting option, so last created widgets set on bottom of page as it was on creation time and widgets will be like 121, 122, 123

GridStack.init({
  column: 120, 
  cellHeight: 15,
  margin: 5,
}); 

using above options while in mounted phase.

I've added this key value oneColumnModeSort:'column-reverse' in option but it's not working.

GridStack.init({
  column: 120, 
  cellHeight: 15,
  margin: 5,
  oneColumnModeSort:'column-reverse',
}); 

Is there any way, i can change default sorting option in Grid Stack VueJS.

about 4 years ago · Juan Pablo Isaza
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