We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Capture the Collapse/Expand on Hierarchy Grid.

Thread ID:





132254 Aug 23,2017 09:12 AM UTC Aug 25,2017 08:38 AM UTC JavaScript 3
Tags: ejGrid
Jakob Harper
Asked On August 23, 2017 09:12 AM UTC


Just a simple question: Is there any events on the Grid or method to capture the Collapse/Expand on the Hierarchy Grid ?

Best Regards

Venkatesh Ayothi Raman [Syncfusion]
Replied On August 24, 2017 07:17 AM UTC

Hi Jakob, 

Thanks for contacting Syncfusion support. 

Yes, we have built-in events to capture the Expand/Collapse the Hierarchy Grid which is named as follows detailsExpand and detailsCollapse. Please refer to the following Help documentation and sample for your reference, 

Help documentation: 

Venkatesh Ayothiraman. 

Jakob Harper
Replied On August 24, 2017 08:02 AM UTC

For some reason I expected that to expand/collapse details for selected record and not the child.

Thank You.


Mani Sankar Durai [Syncfusion]
Replied On August 25, 2017 08:38 AM UTC

Hi Jakob, 

We have analyzed your query and we suspect that you would like to expand or collapse the selected record in grid. To expand or collapse the selected records we suggest you to use expandCollapse method in grid.  
Refer the documentation link:  
Also to get the event when record selected use rowSelected event in grid.  
If you declared the expandCollapse method inside the rowSelected event, upon selecting the row it will expand or collapse the corresponding row details. 

Please let us know if you need further assistance 

Manisankar Durai. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon