I am fetching nested events through a rtk query and loading the events into the store via project.loadInlineData. The parent tasks are being rendered correctly, but none of the child tasks are displayed (despite inspecting the events and seeing children being populated correctly on the parent events, and the parent events start & end date are correctly computed from their child tasks).
It looks like the else block in the eventRenderer is never hit.
I've reviewed your app. Possibly the problem is that your children tasks doesn't have id and doesn't have assigned to resources.
You need to add assignments for nested events too, see JSON in https://bryntum.com/examples/scheduler-pro/nested-events/ demo
@elcr Can you please share your code & data so we can have a look?
I am lost with this. I am trying to turn one example into nested events. I tried a bunch this is what I have rn. The resources are showing, but not the events. I tried different ways to pass the data to the scheduler component but no luck.
I tried another example i found on the forum about this, using " new SchedulerWithSubtasks" (viewtopic.php?p=79426&hilit=nested+events+not+render#p79426) but the same results, events not showing.
It would be great if we had a demo for this
@elcr Can you please share your code & data so we can have a look?
I am lost with this. I am trying to turn one example into nested events. I tried a bunch this is what I have rn. The resources are showing, but not the events. I tried different ways to pass the data to the scheduler component but no luck.
I tried another example i found on the forum about this, using " new SchedulerWithSubtasks" (viewtopic.php?p=79426&hilit=nested+events+not+render#p79426) but the same results, events not showing.
It would be great if we had a demo for this
LOL, it actually works like this, but I had the date wrong :p. Now the events show, but I have no styling, any quick guide on what i need to import for the styling so that I don't go looking for hours again?
Attachments
Screenshot 2023-03-30 150804.png (58 KiB) Viewed 311 times