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

345
Vistas
Ag Grid Dynamic grouping for unstructured data

I am using Ag Grid to show unstructured tabular data. As data is not structured so, I have to create Column Header programmatically.

Here is complete demo on how I am doing it. https://stackblitz.com/edit/react-ts-oy93nr

you can check final output here. https://react-ts-oy93nr.stackblitz.io

Here, if you can see there is group for single item (child of group or item that might be without group) as well or I can say that last item is also becomes the group. Which is incorrect behavior for my use case. Last item/s should not become group but should stay part of group.

That behavior can be achieved if I replace ln#121 return r[i] || null; with return r.slice(0, r.length -1) || null; . This option will take group to one level up. But here issue is that it will push all groups to below and single item to top. Means it rearranges row order to incorrect position.

I am new to Ag Grid so any help or direction would be really helpful. Do let me know if any further details are required.

Also, it is OK if solution required Ag Grid Enterprise edition as it is already being used.

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