3. Run summary definition
Grouping main bars to one row with Run boxes
03-Run_summary_tree
.xml Creates Run from data in (hidden) child rows. Shows also tree of the Runs. Uses whole Run Bar as Gantt task.
-
See documentation for Editable Run bar as summary of child Main bars.
See also documentation for Run bar and Main bar.
-
Normally the Run is defined by one long string with all boxes for one row.
These examples shows alternate definition - creates Run from child rows, where every child row defines one Run box.
Every change in Run boxes is done also in the child data and these changes can be uploaded to server.
-
The first Run Group example defines only the child main bars in plain grid and creates the parent Run rows by grouping.
-
The second Run Data example defines both the child main bars and parent Run bars in tree in the input data.
-
The third Run Tree example does not define the main bars, but calculates the Run just from data in child rows. It also shows tree of the runs - how to mix the child Run data with child Runs.
-
Set it up by
-
Create new column Type='Text' and Visible='0' and assign is to GanttRun attribute.
-
Set Formula='
ganttrunsum()
' to the parent rows to the new column cells to calculate the Run from data in children.
-
Set
GanttRunSummary
='X' to the parent rows Gantt cells to mirror the changes done in the Run to the child data. The X is the child main bar plan, "0" for the first one.
-
Optionally define other Run columns like GanttRunStart, GanttRunEnd, GanttRunDuration, GanttRunComplete and calculate them by formulas: ganttrunstart, ganttrunend, ganttrunduration, ganttpercent(). Define right CalcOrder for the rows to be first calculated the Run by ganttrunsum.
These columns will be used for the parent rows with Run.
-
Optionally define new columns with data in child rows for individual boxes. They can define all the Run box attributes: Start,End,Width,Type,Text,Class,Tip,Id,Group,State,Top,Height,Manual,Complete,Resources,HtmlLeft,HtmlRight.
Set their names to GanttSummaryCols
attribute of the Gantt cell in parent row to link them with the child data.
-
Optionally define GanttSummarySeparators attribute to use different separators in Run definition. If some of the data can contain the default separators (comma and semicolon).
-
Optionally define GanttSummaryCDef attribute to distinguish child rows used as data for parent Run and other child rows.
-
Optionally define the main bars to show them in child rows, by standard attributes GanttStart, GanttEnd, GanttDuration.