10673 : Hiding rows

Question

I use phGantTime in my application and would like to hide a whole row, so that the user can differentiate between different rows (each row representing an activity). From the help, I found that each IphGantRow3 has a property named “visible”, but this one is read only. How do I set this property in order to hide the row ?

Answer

To completly hide a grid node and its GanttRow from view (but still have it in the component) you can set the HideNode property of the IphDataEntity_Tree2 (TphDataEntity_GridTreeNode in VCL).

To Hide specific time items from view you can set their Visible property.