Skip to main content

getDatastore

Description

Returns the configuration object of a datastore

getDatastore: (name: string) => DatastoreMethods & TreeDatastoreMethods

Parameters

  • name - (required) string - the name of the datastore

Returns

  • datastore - (datastore & treedatastore) - the configuration object of a datastore

Example

var tasksStore = gantt.getDatastore("task");