Question
I have phGantTimePackage, and I use TPhGant to show the planning of a day. In my form I have a refresh button who re-select in the database and add row in the Gantt.
My problem is that I need to clear the gantt before refresh it.
How can I do it.
Answer
In the activeX version call IphGantX3.ClearTree
In VCL
if UseGridNotTree then
begin
Grid.GetTree.RootDataEntities.Clear;
end
else
TreeView.Clear;