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!
Okay, this in fact works, but keep in mind expanding all parent rows at once can be pretty costly, and not advisable if it can be avoided.
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.