CalcTaskXY
Void
CalcTaskXY
(
)
Calculates X/Y coordinates of a task and sets the Start and End properties of the TaskItem
- Returns:
Void
dLine
Void
dLine
(
)
Draw a diaganol line (calc line x,y pairs and draw multiple one-by-one sLines)
- Returns:
Void
drawDependency
Void
drawDependency
(
)
Draw dependency line between two points (task 1 end -> task 2 start)
- Returns:
Void
getArrayLocationByID
Void
getArrayLocationByID
(
)
Find location of TaskItem based on the task ID
- Returns:
Void
getShowStartDate
Number
getShowStartDate
(
)
Returns whether start date column is shown
- Returns:
Number
setCaptionType
void
setCaptionType
(
pType
)
Set gantt caption
- Parameters:
-
pType <String>
Caption-Displays a custom caption set in TaskItem
Resource-Displays task resource
Duration-Displays task duration
Complete-Displays task percent complete
- Returns:
void
setDateDisplayFormat
void
setDateDisplayFormat
(
pShow
)
Overall date display format
- Parameters:
-
pShow <String>
(mm/dd/yyyy,dd/mm/yyyy,yyyy-mm-dd)
- Returns:
void
setDateInputFormat
void
setDateInputFormat
(
pShow
)
Overall date input format
- Parameters:
-
pShow <String>
(mm/dd/yyyy,dd/mm/yyyy,yyyy-mm-dd)
- Returns:
void
setFormat
void
setFormat
(
pFormat
)
Set current display format and redraw gantt chart (minute/hour/day/week/month/quarter)
- Parameters:
-
pFormat <String>
(mm/dd/yyyy,dd/mm/yyyy,yyyy-mm-dd)
- Returns:
void
setShowComp
void
setShowComp
(
pShow
)
Show/Hide completed column
- Parameters:
-
pShow <Number>
1=Show,0=Hide
- Returns:
void
setShowDur
void
setShowDur
(
pShow
)
Show/Hide duration column
- Parameters:
-
pShow <Number>
1=Show,0=Hide
- Returns:
void
setShowEndDate
void
setShowEndDate
(
pShow
)
Show/Hide end date column
- Parameters:
-
pShow <Number>
1=Show,0=Hide
- Returns:
void
setShowRes
void
setShowRes
(
pShow
)
Show/Hide resource column
- Parameters:
-
pShow <Number>
1=Show,0=Hide
- Returns:
void
setShowStartDate
void
setShowStartDate
(
pShow
)
Show/Hide start date column
- Parameters:
-
pShow <Number>
1=Show,0=Hide
- Returns:
void
sLine
Void
sLine
(
)
Draw a straight line (colored one-pixel wide DIV), need to parameterize doc item
- Returns:
Void