Skip to content

Commit 27f8810

Browse files
authored
Merge pull request #62 from DHTMLX/resource-datastore-creation-3176
[update] minor correction in the manual data store creation section
2 parents 5e7d5af + 2838ee1 commit 27f8810

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guides/resource-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ It is also possible to initialize the data store manually with the help of the [
269269
const resourcesStore = gantt.createDatastore({
270270
name: gantt.config.resource_store,
271271
// Use treeDatastore if you have hierarchical resources (e.g. workers/departments),
272-
// skip the "type" if you have a flat structure
272+
// skip the "type" if you have a flat structure when you don't use the assignments or render everything manually
273273
type: "treeDatastore",
274274
initItem: item => {
275275
item.parent = item.parent || gantt.config.root_id;

0 commit comments

Comments
 (0)