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

Failed working with ReactJS when column is dynamically updated #59

Open
xhe opened this issue Apr 27, 2016 · 0 comments
Open

Failed working with ReactJS when column is dynamically updated #59

xhe opened this issue Apr 27, 2016 · 0 comments

Comments

@xhe
Copy link

xhe commented Apr 27, 2016

I need to use this plugin in reactJS, in which, user has option to use column chooser to update columns.
When the app is initially loaded, the resizer worked fine, but when user changed columns, adding new columns, or remove old columns, the resizer failed to work.
I already put this:

componentDidUpdate: function(){ $(this.refs.jnprPlainDataTable).resizableColumns({ }); },

Still no effect. Guessing some events binding still exists. How can I remove all the old event binding and rebind events or just refresh?

Thanks

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

1 participant