Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

109
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda