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

299
Views
How do I expand all row nodes in AG Grid SSRM?

I am implementing a feature that expands all ag grid row groups of a Partial Store SSRM grid up to the leaf nodes.

You can take a look at my current implementation in this link.

The problem is knowing when the grid has fully loaded. My current implementation uses gridApi.getCacheBlockState() to try to infer whenever all of the partial stores are loaded, but values keep being added to this object as new stores are added, giving false positives if all of them count as loaded.

I basically need a way of knowing when I should stop listening to displayedRowsChanged events, or in other words, how do I know my grid is fully expanded?

Also, it should be more performant if I had a way of walking the whole partial store tree asynchronously as rows are loaded instead of iterating over all nodes for each render. Is there a way of doing something like that in ag grid?

Custom menu with expand all: enter image description here

After clicking on "Expand All", not every row was expanded: enter image description here

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!