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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Collapse TreeGrid control by default on component load.

Thread ID:

Created:

Updated:

Platform:

Replies:

145000 May 31,2019 01:54 PM UTC Jun 3,2019 11:42 AM UTC Angular - EJ 2 1
loading
Tags: TreeGrid
Ebenezer
Asked On May 31, 2019 01:54 PM UTC

Hi,
     Need to implement TreeGrid control in collapsed state by default on page load.

1.     I have tried to collapse the treegrid control by default using collapseAll() method but it throws some error. Please provide the workaround solution for this issue asap since this is a high priority.



Regards,
Ebenezer Justin

Farveen Sulthana Thameeztheen Basha [Syncfusion]
Replied On June 3, 2019 11:42 AM UTC

Hi Ebenezer, 

Thanks for contacting Syncfusion Support. 

QUERY: Collapse TreeGrid control by default on component load 
 
From your query we understand that you need to collapse all records initially when the treegrid is rendered. In TreeGrid we have “enableCollapseAll” property which when set to true, will load all the rows in collapsed state when the TreeGrid is rendered for the first time. 

Please refer the below sample for better understanding, 

Also you can refer the below help documentation, 

If you have further queries, please get back to us. 

Regards, 
Farveen sulthana T 


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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon