Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!