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

Does not work on tables that are not visible #68

Open
ksidibe opened this issue Jan 15, 2017 · 2 comments
Open

Does not work on tables that are not visible #68

ksidibe opened this issue Jan 15, 2017 · 2 comments

Comments

@ksidibe
Copy link

ksidibe commented Jan 15, 2017

I have a page with Bootstrap tab. in the one of the tabs I have a table on which I instantiate the resizableColumn plugin. It does not work. However, when I move the table to the tab that's visible when the page first loads, it works.

@Vaush
Copy link

Vaush commented Aug 18, 2020

Just for future reference, the selector for resizable-columns is td:visible or th:visible, that's why a table that's not visible is not picked up. You can either construct the resizable columns dinamically via javascript when the table is visible, or change the selector in the global options

@whittaker007
Copy link

I've tried changing the selector in the constructor, but it still only appears to work when the table is visible on page load. I've also tried setting resizableColumns again when the show event is triggered, and that also does not seem to work.

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

No branches or pull requests

3 participants