Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make public way to append created Grid/Scheduler/Gantt to DOM element #38

Closed
SergeyMaltsev opened this issue Nov 21, 2019 · 0 comments
Closed
Assignees
Labels
api change API change internal Internal task resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@SergeyMaltsev
Copy link
Contributor

SergeyMaltsev commented Nov 21, 2019

https://www.bryntum.com/forum/viewtopic.php?f=51&t=19296&p=95391#p95391

Currently Scheduler which was created without appendTo/adopt config option can be appended to DOM element with

document.getElementById('container').appendChild(scheduler.element);

or

DomHelper.append(document.getElementById('container'), scheduler.element);

but this also require private render() call to make it visible

scheduler.render();

Also this code below doesn't work

WidgetHelper.append(scheduler, document.getElementById('container'));

Changelog

Added support for changing widget's appendTo, insertBefore and insertFirst at runtime

@JockeLindberg JockeLindberg self-assigned this Sep 5, 2022
@JockeLindberg JockeLindberg added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Sep 5, 2022
@JockeLindberg JockeLindberg added this to the 5.1.3 milestone Sep 7, 2022
@SergeyMaltsev SergeyMaltsev added api change API change internal Internal task and removed feature request labels Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api change API change internal Internal task resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants