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

Expand row event

Thread ID:

Created:

Updated:

Platform:

Replies:

141042 Nov 20,2018 10:26 AM UTC Nov 20,2018 12:19 PM UTC WPF 2
loading
Tags: GanttControl
Nyx Wallace
Asked On November 20, 2018 10:26 AM UTC

Hello everyone,

 

I've a GanttControl in my program that is filled with hundreds of rows, each one with many sub items. To improve performance I initially load only the roots elements and I’d like to load the sub items only when the expand button (+) is pressed.

 

What I’ve done so far is to add a fake child to the root item to make the button appear, but I can’t find a way to intercept the ‘expand-button-pressed’ event (or whichever event is associated with it).

 

Is there a way to associate a command to the row expand event to load my data? Or anything similar that allows me to accomplish my goal to load sub items only when the row is expanding?

 

Thank you in advance for your support.

 

Cheers

Antoine


Nyx Wallace
Replied On November 20, 2018 12:10 PM UTC

Hello again,

After some digging inside the code I found the event I was looking for. Sorry I bothered you and for anyone stumbling on this thread in the future, the event is inside the GanttControl Gantt.GanttGrid.ExpandStateChanged.

Cheers
Antoine

Muneesh Kumar G [Syncfusion]
Replied On November 20, 2018 12:19 PM UTC

Hi Antoine, 
 
Thanks for your update and please get back to us at any time if you have any other queries.  
 
Regards,  
Muneesh Kumar G.  
 


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