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