10737 : How do I add Time items to the phGant in VCL when UseGridNotTree is true?

…var   aTimeItem:TphDataEntity_Ganttime; begin   if Assigned(phGant1.Grid.FocusedCell) then   begin     aTimeItem:=phGant1.GridNode_AddGantTime(phGant1.Grid.AxisContentItemToGridTreeNode(phGant1.Grid.FocusedCell.AxisContentItemY),0);     aTimeItem.Start:=phGant1.DateScaler.Start+5;     aTimeItem.Stop:=phGant1.DateScaler.Start+15;     aTimeItem.Color:=Random(65000);     aTimeItem.Style:=gtsPipe;     aTimeItem.Row.CollisionDetection:=CBCollisionDetectOnRows.Checked;     aTimeItem.Row.IncreaseRowHeightOnCollision_SuggestedHeightPerItem:=20;     aTimeItem.Row.IncreaseRowHeightOnCollision:=CBIncreaseRowHeightOnCollisions.Checked;   end; end;  … Continue reading

10505 : newactivity.GridRowIndex is -1

…= phGantX1.AddRootDataEntityTree         Else             Set newactivity = phGantX1.AddDataEntityTree(activity)         End If         y = newactivity.GridRowIndex         InitActivity newactivity, aRS         LoadTreeItemsOwnedBy newactivity, newactivity.UserIntegerReference         If y >= Then            … Continue reading