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");
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.