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
Redraw Footable with new data on click on a tab #461
Comments
No one can help?... |
Hi, I've managed to replicate the issue locally and will be releasing a fix for this issue in the next version. The issue is that the Thanks |
Ok so I've to wait the next version? |
In short, yes, or change the portion of code to use the jQuery constructor Thanks |
To use the jQuery constructor, I have a lot of change to do ? Thanks for your answers, and congrats again for this plugin ! |
Hi, It depends on how you are using FooTable. If you are using the variable returned from Using the original var ft = FooTable.init({ /* options */ });
// use the ft variable as needed Using the jQuery constructor var ft = $("#table-id").footable({ /* options */ }).data("__FooTable__");
// use the ft variable as needed Thanks |
And theses two codes works in the same way? |
Yes, the |
Ok so it's working too, thanks for that tips ! One more thing : I've this sample of code :
});` Lot of comments and test, sorry.. |
Hi, Sorry, it's kind of hard to tell just looking at the code, the only thing I did spot is that the Thanks |
I'd like to provide you a test case but I can't, it's locally and you need access because there are some confidentials informations... Maybe, do you have an idea to catch that? Any javascript tricks? Thanks to you |
Hi, Sorry but there could be so many different possibilities I'm not really sure where to start. The best bet is for you to create a jsfiddle that replicates the issue without compromising your confidential information that I could then take a look at. Thanks |
One more thing : When I click on the same tab several time (not spam), the table displayed is always longer than the previous one. It's a bit strange how the plugin works in that case... |
Ok, I've find the problem and maybe it could help you. When I click on the same tab, one more class is added to my like 'footable-2' for the second click, 'footable-3', 'footable-4' and so... Why? |
Last question for today I think, Why with |
…einitializing FooTable on the same table over and over again.
Hi, the issues with the |
Hey All,
I've actually this configuration in my HTML for my footable :
<table id="editing-example" class="table" style="visibility: hidden;" data-sort="true" data-editing-show-text='<span class="fooicon fooicon-pencil" aria-hidden="true"></span> Edit rows' data-editing="true" data-editing-always-show="true" data-editing-add-test="Ajouter un nouvel interlocuteur" data-filtering="true" data-editing-edit-text='<span class="fooicon fooicon-pencil" aria-hidden="true"></span>' data-paging="true" ></table>
It's working fine, but I need to reload the data when I click on a tab. But each time, It copy/past the configuration, like I've 2 input text to search something, after 3 input, 4, 5... Each click on my tab, one more configuration is displayed.
How can I fix it?
Thanks, and congrats for ur plugin !
The text was updated successfully, but these errors were encountered: