-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGanttTreeDef.xml
52 lines (50 loc) · 4.05 KB
/
GanttTreeDef.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<Grid>
<Cfg id="GanttTree"/>
<Cfg Group="L" GroupMain="T" Sort="T"/> <!-- Groups by L column and displays tree in column T (Task / Subtask) -->
<Cfg NumberId="1" IdChars="0123456789"/> <!-- Controls generation of new row ids -->
<Cfg ScrollLeftLap="0"/> <!-- Saves horizontal scroll in Gantt to cookies -->
<Cfg GroupMoveFree="2"/> <!-- Rows can be moved also as children to data rows, set it width DefParent and DefEmpty -->
<Cfg MaxHeight="1"/> <!-- Maximizes height of the main tag -->
<Cfg LimitScroll="23" MinBodyRows="6" MinLeftWidth="2000" MinMidWidth="160" MinRightWidth="450"/> <!-- Responsive design, for small windows sets NoVScroll and NoHScroll -->
<Def>
<D Name="Task" Group="1"/> <!-- The Default "Task" will be used for grouping -->
<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="Group" GGanttIcons="1" GGanttEdit="0" GGanttHover="0"/> <!-- Gantt setting specific for Group rows, changes colors and restrict changes by a user -->
<D Name="Task" NoUpload="1"/> <!-- Does not upload this row to the server -->
<D Name="R" DefParent="Task"/> <!-- Changes the parent row to group row when it gets its first child -->
<D Name="R" DefEmpty="R"/> <!-- Changes the parent row to data row when it looses its last child -->
</Def>
<Panel Copy="7"/> <!-- Shows Add/Copy icon on left side panel -->
<LeftCols>
<C Name="id" Width="50" Type="Text" CanEdit="0"/> <!-- Row id, informational column -->
</LeftCols>
<Cols>
<C Name="T" Width="180" Type="Text"/> <!-- Column Task / Section-->
<C Name="S" Width="80" Type="Date" Format="MMM dd"/> <!-- Column Start date-->
<C Name="E" Width="80" Type="Date" Format="MMM dd"/> <!-- Column End Date -->
<C Name="C" Width="65" Type="Int" Format="##\%;;0\%"/> <!-- Column Complete -->
<C Name="D" Width="70" Type="Text" CanEdit="0" Button="Defaults" Defaults="|*RowsColid*VariableDef" Range="1"/> <!-- Column dependencies (Next) -->
<C Name="L" Width="150" CanEdit="0"/> <!-- Grouping levels definitions -->
<C Name="L" CanGroup="2"/> <!-- Does not hide the column when is grouped by -->
<C Name="L" GroupChar="/"/> <!-- The individual grouping level names are separated by '/' -->
<C Name="L" GroupEmpty="0"/> <!-- Does not create groups for empty Levels -->
</Cols>
<RightCols>
<!-- Gantt chart column, basic settings -->
<C Name="G" Type="Gantt"/> <!-- Defines the Gantt column -->
<C Name="G" GanttStart="S" GanttEnd="E" GanttComplete="C" GanttDescendants="D"/> <!-- Defines the source columns for Gantt -->
<C Name="G" GanttLastUnit="d"/> <!-- The end date is the last day, not last date -->
<C Name="G" GanttUnits="d" GanttChartRound="w" GanttRight="1"/> <!-- Defines the zoom settings -->
<C Name="G" GanttHeader1="w#dddddd MMMM yyyy" GanttHeader2="d#ddddd" GanttBackground="w#1/6/2008~1/6/2008 0:01"/> <!-- Defines headers and background for the zoom -->
<C Name="G" GanttEdit="Main,Dependency" /> <!-- Only main bar and dependency can be edited -->
<C Name="G" GanttSlack="1"/> <!-- Calculates critical path -->
</RightCols>
<Header id="ID" T="Task" S="Start" E="End" C="Com
plete" G="Gantt" D="Next" L="Tree Levels"/> <!-- Column captions -->
<!-- Shows count of incorrect dependencies and on click corrects them -->
<Toolbar Styles="2" Formula="ganttdependencyerrors(null,1)" FormulaOnClick="CorrectAllDependencies" FormulaTip="Click to correct the dependencies"/>
</Grid>