Not yet I'm afraid - we'll prioritize them shortly. Regarding this one: https://github.com/bryntum/support/issues/10540, can you still reproduce it in the latest 6.2 version?
Support Forum
Hey there,
Regarding https://github.com/bryntum/support/issues/10539, this isn’t a bug but a configuration issue. You have passed the subGridConfigs
prop directly to the BryntumGanttWrapper
, which we don’t recommend. For props that won’t change at runtime, use static configuration; for props that must change dynamically, manage them with React’s useState
hook.
So you had this code:
const Gantt = () => {
return (
<BryntumGantt subGridConfigs={{ locked: { 'flex': 3 }, normal: { 'flex': 4 } }} />
);
};
Instead, it should be:
const Gantt = () => {
const [subGridConfigs, setSubGridConfigs] = React.useState({
locked: { 'flex': 3 },
normal: { 'flex': 4 }
});
return (
<BryntumGantt subGridConfigs={subGridConfigs} />
);
};
We outline this best practice in our guide:
https://bryntum.com/products/gantt/docs/guide/Gantt/integration/react/guide#best-practices
Switching to the useState approach resolved the issue. Here is the updated demo and video clip showing it in working: