Open pmiklashevych opened 3 years ago
Might already be possible, config system allows up.xxx
to resolve configs. Its bound early though, so mileage may vary.
items : {
gantt : {
type : 'gantt'
},
scheduler : {
type : 'scheduler',
partner : 'up.gantt'
}
}
https://www.bryntum.com/docs/gantt/#Scheduler/view/Scheduler#config-partner should accept string to be considered as a global selector. If nothing found just ignore the partner config.
The selector should support ID, ref, custom property.
We do similar in the framework wrappers, for example: SchedulerPro/examples/frameworks/npm/angular/projects/schedulerpro/src/lib/schedulerpro.component.ts
We could replace it in all framework wrappers after all
Related to: https://www.bryntum.com/forum/viewtopic.php?p=79797#p79797