JSGantt.TaskItem
(
pID
,
pName
,
pStart
,
pEnd
,
pColor
,
pLink
,
pMile
,
pRes
,
pComp
,
pGroup
,
pParent
,
pOpen
,
pDepend
,
pCaption
)
- Parameters:
-
pID <Number>
Task unique numeric ID -
pName <String>
Task Name -
pStart <Date>
Task start date/time (not required for pGroup=1 ) -
pEnd <Date>
Task end date/time, you can set the end time to 12:00 to indicate half-day (not required for pGroup=1 ) -
pColor <String>
Task bar RGB value -
pLink <String>
Task URL, clicking on the task will redirect to this url. Leave empty if you do not with the Task also serve as a link -
pMile <Boolean>
Determines whether task is a milestone (1=Yes,0=No) -
pRes <String>
Resource to perform the task -
pComp <Number>
Percent complete (Number between 0 and 100) -
pGroup <Boolean>
-
pParent <Number>
ID of the parent task -
pOpen <Boolean>
-
pDepend <String>
Comma seperated list of IDs this task depends on -
pCaption <String>
Caption to be used instead of default caption (Resource). note : you should use setCaption("Caption") in order to display the caption