Hi
I'm using Gantt + ResourceHistogram in a React App. When I load my project (from an remote REST API), the Gantt chart is fully updated, showing all the tasks in both the columns and the Gantt chart. The resources are also loaded into the resourceHistogram, but the assignments are not shown. When I make a new assignment via 'Edit task', the ResourceHistogram is not updated either, even though they are shown in the Gantt chart column.
Any ideas what could be wrong?
My setup is as follows (similar to the React example)
...
const ganttRef = useRef(null);
const histogramRef = useRef(null);
useEffect(() => {
histogramRef.current.instance.partner = ganttRef.current.instance;
});
return (
<Fragment>
<BryntumGantt ref={ganttRef}
project={projectConfig}
taskMenuFeature={taskMenuFeatureConfig}
columns={planningColumnConfig}
{...ganttConfig(userSettings)}
/>
<BryntumSplitter/>
<BryntumResourceHistogram ref={histogramRef}
project={projectConfig}
{...histogramConfig}
/>
</Fragment>
)