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

110
Vistas
Is there any unique Id that ag-grid generates and attaches for every row in the grid

I wanted to implement the validations of certain columns in the ag-grid table in angular. My approach towards it is,

  1. I will maintain a form group and the children's of form groups are form arrays. The controls in the form array are pushed from a directive that sits on top of ag-grid.
  2. I use a custom cell renderer to display a border around the cell to show case an error entry by the user.
  3. So to get the correct control from form array inside the cell renderer component, I need to map a unique Id of row with the form array index to get the correct control.
  4. I tried using RowNodeId but that Id currently is coming up from a backend system. When I copy a row, then that row doesn't have any Id, that creates a problem for me to fetch the correct control from form array.
  5. While debugging I have found RowNode has "_objectId" associated with it, which seems unique and this will be available for copied rows also and I see it doesnt change with grouping/sorting/filtering.

Could anyone suggest me how should I decide my Id for the above mentioned scenario. I really appreciate for your help in advance.

PS: I am using v22 of ag-grid for some reason.

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