You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>Move the last non-structural style information from javascript to css file</li>
172
+
<li>Tooltip DIV slightly restructured to allow styling rather than relying on line breaks for layout</li>
173
+
<li>Create the chart using createElement() and appendChild() rather than innerHTML to enable...</li>
174
+
</ul></li>
175
+
<li>New "Combined Group" element created. Combined groups show all child task information on one row.</li>
176
+
</ul>
177
+
<blockquote><p>
178
+
Please see the differences for the CSS file in code revision <ahref="https://code.google.com/p/jsgantt-improved/source/diff?spec=svn21&old=18&r=21&format=side&path=%2Ftrunk%2Fjsgantt.css">r21</a> for details of CSS structural changes.
179
+
</p></blockquote>
163
180
<h4>v1.2:</h4>
164
181
<ul>
165
182
<li>Multiple gantt charts per page are now supported</li>
@@ -169,32 +186,7 @@ <h4>v1.2:</h4>
169
186
</p><p>
170
187
All chart element ids are now prefixed with the id of the master DIV containing the chart. As a result the default stylesheet has been updated to no longer uses any element ids to apply styles.
171
188
</p><p>
172
-
The following classes have been renamed:
173
-
<pre>
174
-
.column -> .gcontainercol
175
-
.scroll -> .glistgrid
176
-
.scroll2 -> .gchartgrid
177
-
.scroll3 -> .glistlbl
178
-
.scroll4 -> .gchartlbl
179
-
</pre>
180
-
</p><p>
181
-
Rules using the following ids have been converted to use these classes:
182
-
<pre>
183
-
#JSGanttToolTip -> .JSGanttToolTip
184
-
#JSGanttToolTipcont -> .JSGanttToolTipcont
185
-
#chartTable -> .gcharttable
186
-
#container -> .gchartcontainer
187
-
#footer -> .ggridfooter
188
-
#footer2 -> .glabelfooter
189
-
#leftside -> .glistgrid (rules combined with old .scroll class)
190
-
#leftsideh -> .glistlbl (rules combined with old .scroll3 class)
191
-
#rightside -> .gchartgrid (rules combined with old .scroll2 class)
192
-
#rightsideh -> .gchartlbl (rules combined with old .scroll4 class)
193
-
#taskTable -> .gtasktable
194
-
#taskTableh -> .gtasktableh
195
-
</pre>
196
-
</p><p>
197
-
Dependency lines have been altered to use a 1px border rather than background color and the default styles have been updated to reflect this. Two new classes have been defined, .glineh and .glinev for horizontal and vertical lines respectively (1x1 pixel lines are considered to be vertical).
189
+
Please see the notes for code revision <ahref="http://code.google.com/p/jsgantt-improved/source/detail?r=18">r18</a> for details of CSS structural changes.
<dt>pGroup</dt><dd>(optional) indicates whether this is a group task(parent) - Numeric; 1 = group task, 0 = not group task</dd>
320
+
<dt>pGroup</dt><dd>(optional) indicates whether this is a group task(parent) - Numeric; 0 = normal task, 1 = standard group task, 2 = combined group task<ahref='#combinedtasks' class="footnote">*</a></dd>
329
321
<dt>pParent</dt><dd>(required) identifies a parent pID, this causes this task to be a child of identified task. Numeric, top level tasks should have pParent set to 0</dd>
330
-
<dt>pOpen</dt><dd>(required) indicates whether a group task is open when chart is first drawn. Value must be set for all items but is only used by group tasks. Numeric, 1 = open, 0 = closed</dd>
322
+
<dt>pOpen</dt><dd>(required) indicates whether a standard group task is open when chart is first drawn. Value must be set for all items but is only used by standard group tasks. Numeric, 1 = open, 0 = closed</dd>
331
323
<dt>pDepend</dt><dd>(optional) comma separated list of id's this task is dependent on. A line will be drawn from each listed task to this item<br/>Each id can optionally be followed by a dependency type suffix. Valid values are:<blockquote>'FS' - Finish to Start (default if suffix is omitted)<br/>'SF' - Start to Finish<br/>'SS' - Start to Start<br/>'FF' - Finish to Finish</blockquote>If present the suffix must be added directly to the id e.g. '123SS'</dd>
332
324
<dt>pCaption</dt><dd>(optional) caption that will be added after task bar if CaptionType set to "Caption"</dd>
333
325
<dt>pNotes</dt><dd>(optional) Detailed task information that will be displayed in tool tip for this task</dd>
334
326
</dl>
327
+
<pid='combinedtasks'><spanstyle="color: red;">*</span> Combined group tasks show all sub-tasks on one row. The information displayed in the task list and row caption are taken from the parent task. Tool tips are generated individually for each sub-task from its own information. Milestones are not valid as sub-tasks of a combined group task and will not be displayed. No bounds checking of start and end dates of sub-tasks is performed therefore it is possible for these task bars to overlap. Dependencies can be set to and from sub-tasks only.
0 commit comments