Our state of the art Gantt chart


Post by sachidanand »

Hello Mats,

Thanks for the input , I am able to achieve the tree view structure in the grid now but I am not
able to draw events
.
The eventRenderer method itself not being called. Attached is the zip folder for the same , could you please let me know where I am going wrong.

Also, I noticed one thing regarding the data set that we are using in tree (https://bryntum.com/examples/scheduler/tree/data/data.json) . Here , if I don't specify "capacity" field for resource with "Id" =1 , then it doesn't load the children capacity data.

Attachments
angular-8-tree.zip
(916.9 KiB) Downloaded 48 times

Post by Maxim Gorkovsky »

Event renderer doesn't get called because there are no events in the current view to render. Your view starts 2 months after events:

> bryntum.query('scheduler').startDate
Wed Feb 07 2018 08:00:00 GMT+0300
> bryntum.query('scheduler').eventStore.first.startDate
Sat Dec 02 2017 08:20:00 GMT+0300

We do not render far from the viewport. Adjust scheduler start/end dates or zoom in/out until you find events.


Post Reply