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.
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).
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?
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.
MKMuneesh Kumar G Syncfusion Team November 20, 2018 12:19 PM UTC
Thanks for your update and please get back to us at any time if you have any other queries.