Web application using Gantt_ASP
is there a way to define the height so that all elements are displayed?
Or is there a command that tells if an element is not displayed?
I have a gantt that is connected to a database, so the size of the gantt could be very large, or very small. Is there a way to check how big the gantt should be?
Gantt_ASP.height = node.row1 + rode.row2…….. + header ???
or is there a way to check that a node is displayed?
You can check the Gantt.Grid.GridStructure.LastDrawnNode property. You can check the rectangle of a cell of this node.< ?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
To make sure you are working with current data you should call Gantt.Grid.Refresh() before checking the LastDrawnNode.