10061 : Hide the grid

Question

I truly love your amazing component, but never the less I need to hide the grid and replace it with another control. Is this at all possible?

Answer

The grid is vital to the Gantt, it controls the Y-axis and manages scrolling and collapse one GanttRow per GridNode. Having said that you can hide the grid by hi-jacking it to a panel that you keep out of sight:

private void HideGrid_Click(object sender, System.EventArgs e)
{
  gantt1.Grid.Parent=panel1;
}

Leave a Reply