Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
285 views
in Technique[技术] by (71.8m points)

javascript - Gantt diagram does not present the information

I created a gantt diagram using a library from devextreme. I am trying to store the information in just 2 datasources, which differs from the example of devextreme. My problem is that the data is not shown in the diagram and I don't know where the problem is.

Someone can help me? Thank you

Library

DEMO

HTML

 <dx-gantt
    taskListWidth="500"
    scaleType="weeks"
    height="700"
    rootValue="-1">

    <dxo-tasks [dataSource]="Task"></dxo-tasks>
    <dxo-dependencies [dataSource]="Task"></dxo-dependencies>
    <dxo-resources [dataSource]="resources"></dxo-resources>
    <dxo-resource-assignments [dataSource]="Task"></dxo-resource-assignments>
    <dxi-column dataField="title" caption="Subject" [width]="300"></dxi-column>
    <dxi-column dataField="start" caption="Start Date" dataType="date"></dxi-column>
    <dxi-column dataField="end" caption="End Date" dataType="date"></dxi-column>
    <dxo-editing [enabled]="true"></dxo-editing>
</dx-gantt> 
question from:https://stackoverflow.com/questions/66050008/gantt-diagram-does-not-present-the-information

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...