<Grid>
   <Cfg id="GanttSimple" Version="4"  MainCol="T"/> <!-- Displays tree in column T (Task / Subtask) -->
   <Cfg EmptyDate=""/> <!-- Takes empty dates as strings instead of 0 and ignores them in calculations -->
   <Cfg FullId="1" NumberId="1" IdChars="0123456789"/> <!-- Controls generation of new row ids -->
   <Cfg DropFree="1"/> <!-- No restriction in moving rows -->
   <Actions ClickButtonAdd="AddRowEnd"/><!-- Clicking to toolbar Add icon always adds new row to the end -->
   <Def>
      <D Name="Task" Expanded="1" Calculated="1" CalcOrder="S,E,C,G"/> <!-- Group of task calculates summary of the tasks -->
      <D Name="Task" SFormula="minimum(min('S'),min('E'))"/> <!-- Gets the first start date from its children -->
      <D Name="Task" EFormula="maximum(max('S'),max('E'))"/> <!-- Gets the last end date from its children -->
      <D Name="Task" CFormula="ganttpercent('S','E','d')"/> <!-- Calculates average task completion from its children -->
      <D Name="Task" GColor="240,240,240"/> <!-- Changes background color -->
      <D Name="Task" DButton=""/> <!-- Cannot change dependency of group task -->
      <D Name="Task" GGanttClass="GanttG" GGanttOptions="2"/> <!-- Gantt setting specific for Group rows, changes colors and restrict changes by a user -->
   </Def>
   <Panel Copy="7"/> <!-- Shows Add/Copy icon on left side panel -->
   <LeftCols>
      <C Name="id" Width="40" Type="Text"/> <!-- Row id, informational column -->
      <C Name="T" Width="140" Type="Text"/> <!-- Column Task / Section-->
      <C Name="S" Width="60" Type="Date" Format="MMM dd"/> <!-- Column Start date-->
      <C Name="E" Width="60" Type="Date" Format="MMM dd"/> <!-- Column End Date -->
      <C Name="C" Width="60" Type="Int" Format="##\%;;0\%"/> <!-- Column Complete -->
      <C Name="D" Width="65" Type="Text" CanEdit="0" Button="Defaults" Defaults="|*RowsColid*VariableDef" Range="1"/> <!-- Column dependencies (Next) -->
   </LeftCols>
   <Cols>
      <!-- Gantt chart column -->
      <C Name="G" CanSort="0" Type="Gantt" CanEdit="0" CanResize="0" MenuName="Gantt chart"
         GanttStart="S" GanttEnd="E" GanttComplete="C" GanttDependencies="D" 
         GanttUnits="d" GanttChartRound="w" GanttOptions="17"
         GanttRight="1" 
         GanttBackground="1/6/2008~1/6/2008 0:01" GanttBackgroundRepeat="w"
         GanttHeader1="w" GanttFormat1="dddddd MMMM yyyy"
         GanttHeader2="d" GanttFormat2="ddddd"
         />
   </Cols>
   <Header id="ID" T="Task" S="Start" E="End" C="Complete" G="Gantt" D="Next"/> <!-- Column captions -->
   
   <!-- Use the next setting to fix the Gantt structure to two levels - Task / Data-->
   <!--Root CDef="Task"/>
   <Def>
      <D Name="Task" CDef="R"/>
      <D Name="R" CDef=""/>
   </Def>
   <Cfg DropFree="0"/-->

</Grid>