You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't work because gantt's id is not in bryntum.Widget.identifiable.idMap
bryntum.Widget of Gantt is overridden by the one from SchedulerPro bundle.
See Core/lib/Core/widget/Widget.js:4082
Reproduced in simple demo by forcing the SchedulerPro import, but the real usecase is when you're trying to mix different products in framework application, for example in angular package.json:
Also here viewPreset instanceof ViewPreset doesn't work because ViewPreset of Gantt and ViewPreset of SchedulerPro are different constructors!
changeViewPreset(viewPreset, oldViewPreset) {
const me = this;
// Throw on use of expired deprecated usage.
if (!(viewPreset instanceof ViewPreset) && viewPreset.name && !viewPreset.base) {
throw new Error('ViewPreset name config replaced by base config...');
}
Another testcase https://www.bryntum.com/forum/viewtopic.php?p=88622#p88622 bryntum-example.zip npm i && npm run start
Open a column header menu on the grid. See it's broken. Submenu doesn't work and outside click doesn't hide it.
The reason in global widget registry. toWidget = GlobalEvents.Widget.fromElement(toElement) returns null.
Forum: https://www.bryntum.com/forum/viewtopic.php?p=79797#p79797
Testcase:
bryntumDemo.zip
http://lh/bryntum-suite/gantt/examples/gantt-schedulerpro/index.module.html
Works because gantt's id is in bryntum.Widget.identifiable.idMap
Gantt/examples/gantt-schedulerpro/index.module.html
Doesn't work because gantt's id is not in bryntum.Widget.identifiable.idMap
bryntum.Widget of Gantt is overridden by the one from SchedulerPro bundle.
See Core/lib/Core/widget/Widget.js:4082
Build SchedulerPro and Gantt:
grunt schedulerpro:build-module
grunt gantt:build-module
Reload the page
Reproduced in simple demo by forcing the SchedulerPro import, but the real usecase is when you're trying to mix different products in framework application, for example in angular package.json:
The text was updated successfully, but these errors were encountered: