跳到主要内容

getDatastore

Description

返回数据存储的配置对象

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

Parameters

  • name - (required) string - 数据存储的名称

Returns

  • datastore - (datastore & treedatastore) - 指定数据存储的配置对象

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.