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

Creates all dialogs inside jtable-main-container #1716

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gbisheimer
Copy link
Contributor

Fixes #1715

@misterparsons
Copy link

Will this work with multiple jtables on same page. I don't mean parent child. At the moment with the dialogs attached to the main window they are shared by the code from all tables.

@gbisheimer
Copy link
Contributor Author

Each table will create its own set of dialogs, the same way as it is now. The only difference is the location of the dialog on the DOM.

I've proposed this change because I'm working with polymer web-components. I wrapped a jtable inside a web-component and in this case I need to have everything encapsulated inside the web-component host.

This way you can have different dialog configuration for each table, and all code is removed from the DOM when jtable main container is removed.

@xDaizu
Copy link

xDaizu commented Jul 22, 2015

Sounds great. Why is this not happening?

Logof pushed a commit to Logof/jTable that referenced this pull request Jul 23, 2022
Logof added a commit to Logof/jTable that referenced this pull request Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dialog's divs are created outside jtable-main-container
3 participants