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

Wrong callback function is called when using two datatables #93

Open
larrybg opened this issue Jan 11, 2021 · 2 comments
Open

Wrong callback function is called when using two datatables #93

larrybg opened this issue Jan 11, 2021 · 2 comments

Comments

@larrybg
Copy link

larrybg commented Jan 11, 2021

I've used the advanced example in my code. On the same page I have two bootstrap tabs each contains a datatable (different IDs). When I make an update in a table (doesn't matter first or second) only callback function of the first table is called.
When I disable edit in the first table I'm able to call the callback function of the second table.
Is this a limitation to have only one editable datatable on the page?

@larrybg
Copy link
Author

larrybg commented Jan 11, 2021

Just confirmed - if I re-order the table1.MakeCellsEditable and table2.MakeCellsEditable so the 2nd table will be initiated the last, I can call the second table callback function. Yes, it is the limitation.
Can you update the code so we can have a few editable tables on the same page?

@fisand08
Copy link

Was fixed at issue #27

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

2 participants