甘特图 API方法getDatastore页面内容getDatastore Description 返回数据存储的配置对象 getDatastore: (name: string) => DatastoreMethods & TreeDatastoreMethodsParameters name - (required) string - 数据存储的名称 Returns datastore - (datastore & treedatastore) - 指定数据存储的配置对象 Examplevar tasksStore = gantt.getDatastore("task");Related samples Gantt chart with resource panel Related API datastore treeDatastore