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.
Unfortunately, activation email could not send to your email. Please try again.

Capture the Collapse/Expand on Hierarchy Grid.

Thread ID:

Created:

Updated:

Platform:

Replies:

132254 Aug 23,2017 05:12 AM Aug 25,2017 04:38 AM JavaScript 3
loading
Tags: ejGrid
Jakob Harper
Asked On August 23, 2017 05:12 AM

Hi

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

Best Regards
Jakob

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

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: 



Regards, 
Venkatesh Ayothiraman. 


Jakob Harper
Replied On August 24, 2017 04:02 AM

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

Thank You.

/Jakob


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

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 

Regards, 
Manisankar Durai. 



CONFIRMATION

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.

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.

;