跳到主要内容

getDatastore

Description

返回 datastore 的配置对象

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

Parameters

  • name - (required) string - datastore 的名称

Returns

  • datastore - (datastore & treedatastore) - 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.