Samples
Forum
Support
Documentation
Promise
addCalendar
addLink
addLinkLayer
addMarker
addShortcut
addTask
addTaskLayer
adjustTaskHeightForBaselines
alert
assert
attachEvent
autoSchedule
batchUpdate
bind
calculateDuration
calculateEndDate
calculateTaskLevel
callEvent
changeLightboxType
changeLinkId
changeTaskId
checkEvent
clearAll
clearRedoStack
clearUndoStack
close
collapse
columnIndexByDate
confirm
copy
correctTaskWorkTime
createCalendar
createDataProcessor
createDatastore
createTask
dataProcessor
dateFromPos
defined
deleteCalendar
deleteLink
deleteMarker
deleteTask
destructor
detachAllEvents
detachEvent
eachParent
eachSelectedTask
eachTask
event
eventRemove
expand
exportToExcel
exportToICal
exportToJSON
exportToMSProject
exportToPDF
exportToPNG
exportToPrimaveraP6
findCycles
focus
getCalendar
getCalendars
getChildren
getClosestWorkTime
getColumnIndex
getConnectedGroup
getConstraintLimitations
getConstraintType
getDatastore
getFreeSlack
getGlobalTaskIndex
getGridColumn
getGridColumns
getLabel
getLastSelectedTask
getLayoutView
getLightbox
getLightboxSection
getLightboxType
getLightboxValues
getLink
getLinkCount
getLinkNode
getLinks
getMarker
getNext
getNextSibling
getParent
getPrev
getPrevSibling
getRedoStack
getResourceAssignments
getResourceCalendar
getScale
getScrollState
getSelectedId
getSelectedTasks
getShortcutHandler
getSiblings
getSlack
getState
getSubtaskDates
getSubtaskDuration
getTask
getTaskAssignments
getTaskBarHeight
getTaskBaselines
getTaskBy
getTaskByIndex
getTaskByTime
getTaskByWBSCode
getTaskCalendar
getTaskCount
getTaskHeight
getTaskIndex
getTaskNode
getTaskPosition
getTaskResources
getTaskRowNode
getTaskTop
getTaskType
getTotalSlack
getUndoStack
getVisibleTaskCount
getWBSCode
getWorkHours
groupBy
hasChild
hideCover
hideLightbox
hideQuickInfo
importFromExcel
importFromMSProject
importFromPrimaveraP6
init
isChildOf
isCircularLink
isCriticalLink
isCriticalTask
isLinkAllowed
isLinkExists
isReadonly
isSelectedTask
isSplitTask
isSummaryTask
isTaskExists
isTaskVisible
isUnscheduledTask
isWorkTime
load
locate
mergeCalendars
message
mixin
modalbox
moveTask
open
parse
plugins
posFromDate
redo
refreshData
refreshLink
refreshTask
removeLinkLayer
removeShortcut
removeTaskLayer
render
renderMarkers
resetLayout
resetLightbox
resetProjectDates
resetSkin
resizeLightbox
roundDate
roundTaskDates
scrollLayoutCell
scrollTo
selectTask
serialize
serverList
setParent
setSizes
setSkin
setWorkTime
showCover
showDate
showLightbox
showQuickInfo
showTask
silent
sort
toggleTaskSelection
uid
undo
unselectTask
unsetWorkTime
updateCollection
updateLink
updateMarker
updateTask
updateTaskAssignments
Start
Gantt API
Methods
getDatastore
returns the configuration object of a datastore
datastore & treedatastore
getDatastore
(
string
name
);
name
string
the name of the datastore
datastore & treedatastore
the configuration object of a datastore
Example
var
tasksStore
=
gantt.
getDatastore
(
"task"
)
;
Related samples
Gantt chart with resource panel
See also
API
datastore
treeDatastore
Back to top