<Grid>
   <Cfg id="Zoom" IdChars="0123456789" NumberId="1" Undo="1" CopyPasteRows="2" SuppressCfg="1" ScrollParentHorz="Border"/>
   <Cfg DefaultDate="1/1/2000 8:00" MinMidWidth="150"/>
   <Cfg CalendarsRepeatType="Enum" CalendarsRepeatEnum="||Monthly|Weekly|Daily|Hourly" CalendarsRepeatEnumKeys="||M|w|d|h" CalendarsRepeatWidth="80"/> <!-- Settings for Calendar list dialog, the Repeat column -->
   <Cfg CalendarsValueType="Enum" CalendarsValueEnum="|Not work|Exception|Lunch|Weekend|Holiday|Reserved 1|Reserved 2" CalendarsValueEnumKeys="||0|1|2|3|4|5" CalendarsValueCaption="Type" CalendarsValueWidth="100"/> <!-- Settings for Calendar list dialog, the Value column -->
   <Panel Visible="0"/>
   <LeftCols>
      <C Name="id" Type="Int" CanEdit="0" CanSort="0"/>
   </LeftCols>
   <Cols>
      <C Name="CAL" Width="125" Type="Select" OnClickSideDefaults = "Grid.ShowGanttCalendars(Row,Col)" OnEnter = "Grid.ShowGanttCalendars(Row,Col)"/>
      <C Name="START" Type="Date" Format="MMM dd, '&lt;i>'HH'&lt;/i>'" EditFormat="MM/dd/yy HH"/>
      <C Name="END" Type="Date" DefaultDate="1/1/2000 17:00" Format="MMM dd, '&lt;i>'HH'&lt;/i>'" EditFormat="MM/dd/yy HH"/>
      <C Name="DUR" Type="Text" CanSort="0"/>
   </Cols>
   <RightCols>
      <C Name="GANTT" Type="Gantt" 
         GanttDataUnits="h"
         GanttStart="START" GanttEnd="END" GanttDuration="DUR"
         GanttCalendar="CAL"
         GanttLeft="0" GanttRight="0"
         GanttHideExclude="0" GanttCheckExclude="1"
         GanttExclude="Work hours"
         GanttZoom="weeks"
         />
   </RightCols>
   <Def>
      <D Name="PARTS" Spanned="1" GANTTGanttStart="" GANTTGanttParts="START" STARTSpan="3" STARTRange="1" STARTCanEdit="0" />
      <D Name="RUN" Spanned="1" GANTTGanttStart="" GANTTGanttRun="START" STARTSpan="3" STARTType="Text" STARTCanEdit="0" STARTFormat=""/>
   </Def>
   <Calendars>
      <E Name="Work hours" Exclude="d#18:00~9:00; d#13:00~14:00#1; w#1/5/2008~1/7/2008#2;"/>
      <E Name="24 hours" Exclude=""/>
      <E Name="Night shift" Exclude="d#8:00~23:00; d#3:00~4:00#1; w#1/5/2008 8:00~1/7/2008 8:00#2;"/>
      <E Name="Workdays" Exclude="w#1/5/2008~1/7/2008#2;"/>
      <E Name="Work hours only" Exclude="d#18:00~9:00; d#13:00~14:00#1;"/>
      <E Name="First 12"  Exclude="d#18:00~6:00"/>
      <E Name="Second 12"  Exclude="d#6:00~18:00"/>
   </Calendars>
   <Zoom>
      <Z Name="weeks"
         GanttUnits="d" GanttChartRound="w"
         GanttWidth="22" GanttWidthEx="92.4"
         GanttHeader1="M#MMMM yyyy"
         GanttHeader2="d#%d"
         GanttHeader3="d#ddddd"
         />
      <Z Name="hours"
         GanttUnits="h" GanttChartRound="d"
         GanttWidth="24" GanttWidthEx="33.6"
         GanttHeader1="h12#dddd dddddd MMMM yyyy tt" GanttHeader1Ex="d#dddd dddddd MMMM yyyy"
         GanttHeader2="h#HH"
         />
   </Zoom>
   <Body>
      <B>
         <I id="0"/>
         <I id="1" 
            START="12/16/1999 9:00" END="1/3/2000 18:00"
            />
         <I id="2" 
            START="12/16/1999 9:00" DUR="104"
            />
         <I id="3"
            CAL="Night shift"
            START="12/16/1999 9:00" END="1/3/2000 18:00"
            />
         <I id="4"
            CAL="24 hours"
            START="12/16/1999 9:00" END="1/3/2000 18:00"
            />
         <I id="5"
            CAL="Workdays"
            START="12/16/1999 9:00" END="1/3/2000 18:00"
            />
         <I id="6"
            CAL="Work hours only"
            START="12/16/1999 9:00" END="1/3/2000 18:00"
            />
         <I id="7" Def="PARTS"
            START="12/16/1999 9:00~12/23/1999 18:00;12/28/1999 9:00~12/28/1999 18:00;12/31/1999 10:00~12/31/1999 11:00;~1/10/2000 18:00"
            />
         <I id="8" Def="PARTS"
            CAL="First 12"
            START="12/16/1999 9:00~12/23/1999 18:00;12/28/1999 9:00~12/28/1999 18:00;12/31/1999 10:00~12/31/1999 11:00;~1/10/2000 18:00"            
            />
         <I id="9" Def="PARTS"
            CAL="Second 12"
            START="12/16/1999 9:00~12/23/1999 18:00;12/28/1999 9:00~12/28/1999 18:00;12/31/1999 10:00~12/31/1999 11:00;~1/10/2000 18:00"
            />
         <I id="10" Def="RUN"
            START="12/16/1999 9:00,16;12/22/1999 9:00,8;12/23/1999 9:00,5;2;12/23/1999 17:00,32;1/6/2000 9:00,16"
            />
         <I id="11" Def="RUN"
            START="12/16/1999 9:00,12/17/1999 18:00;12/22/1999 9:00,12/22/1999 18:00;12/23/1999 9:00,12/23/1999 15:00;12/23/1999 15:00,12/23/1999 17:00;12/23/1999 17:00,12/29/1999 17:00;1/6/2000 9:00,1/7/2000 18:00"
            />
      </B>
   </Body>
   <Header id="id"/>
   <Solid>
      <Toolbar Cells="Ex,Typ,Hide,Check"
         ExLabel="&lt;b>Holidays&lt;/b>" ExWidth="90"
         ExType="Select" ExOnClickSideDefaults = "Grid.ShowGanttCalendars(Row,Col)"
         ExFormula="Grid.Cols.GANTT.GanttExclude"
         ExOnChange="Grid.ChangeExclude(Value);" ExUndo="1"
         ExTip="Global calendar for the whole project"
            
         HideType='Bool' HideCanEdit='1'
         HideLabelRight='Hide excluded dates'
         HideFormula='Grid.Cols.GANTT.GanttHideExclude'
         HideOnChange='Grid.SetHideExclude(Value)'

         CheckType='Select'
         CheckDefaults='|Permit start at excluded dates|Restrict start at excluded dates|Ask before start at excluded dates'
         CheckFormula='Grid.GetDefaultsValue(Row,Col,Grid.Cols.GANTT.GanttCheckExclude)'
         CheckOnChange='Grid.Cols.GANTT.GanttCheckExclude = Grid.GetDefaultsIndex(Row,Col,Value); Grid.SaveCfg();'
         CheckTip='If tasks can start and end at excluded dates'
         CheckWidth='160'
            
         TypType='Bool' TypLabelRight='Update end by duration' TypLeft='5' Typ='1' TypCanEdit='1'
         TypTip='When changing exclude / include it will update end by duration when checked and duration by end when unchecked&lt;br>Updates only Main bar. The Run bars are updated always according to their definition type.'
         TypFormula='Grid.Cols.GANTT.GanttChangeExclude'
         TypOnChange='Grid.Cols.GANTT.GanttChangeExclude=Value?3:0'
         />
   </Solid>
   <Media>
      <M MaxWidth="1023" Tag="0"> <Cfg NoHScroll="1"/> </M>
      <M MaxHeight="800" Tag="0"> <Cfg Size="Low"/> </M>
   </Media>
</Grid>