Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Collapse/Expand the row by Programmatically in React Hierarchical Grid
posted

Hello Infragistics Team,

We are using the React Hierarchical Grid component (v18.7.7 URL) in our project and need to programmatically expand or collapse rows.

We attempted to use hierarchicalGridRef.current.expandRow(value), but it only expands the first row(parent row) and not its child rows. We want to expand the child row also.

Could you provide an example with code demonstrating how to expand/collapse all rows, including child rows?

Thanks in advance!

Parents
No Data
Reply
  • 29185
    Offline posted

    Hello and thank you for contacting Infragistics. At the moment there doesn't appear to be direct way to access child records to expand them for a particular parent record. I asked a team member to review this with me to see what our options are. I will follow up soon with an update. Let me know if you have any questions.

Children