Uncaught Buttons: Too many iterations
Uncaught Buttons: Too many iterations
Jbocook
Posts: 6Questions: 3Answers: 0
http://debug.datatables.net/axomet
Not sure why I'm getting this error. I've searched the forums and google and have come up empty handed. When we try to add buttons to the form we get Uncaught Buttons: Too many iterations
This discussion has been closed.
Answers
Hi,
Thanks for the debug trace. The trace shows that you are using Editor 1.4.2, but the
create
etc buttons require Editor 1.5.0+ as they were introduced in that version of Editor.The error shouldn't be "too many iterations", instead complaining about an unknown button type - I will look into that, but you need to upgrade your Editor if you want to use Buttons.
Allan
I updated to 1.5.0 and I receive the same error. I followed the example placing the same code on the page. If I remove buttons.js and the call in the table js the site gives me no errors.
Could you possibly give me a link to your page? There must be some difference to the demo, since the demo works.
Thanks,
Allan
I have the same issue. I have used the download page to set up the include section.
ty
f
I can't send a link, it's internal but here's a zip of the directory. It's a demo I before including into a project.
https://www.wetransfer.com/downloads/09385e3b4fc9295c3de29f63c369d84120150814210758/b78cf9
If you need an easy way ro reproduce the bug this is my code.
This code gives the bug.
if you remove the section
the bug disappears
end
Hi!
I had the same issue and I've solved it by downloading and including the "select-1.0.0" extension files in my code.
Hopefully this will also work for you,
Yeah! Fixed thanks.
Fabio
The error happens if you use or rather try to use a button for which you havent downloaded the js file. I tried to use the colVis button but had forgotten to include itse js file and got the same error.
Interesting - what should happen is that you get an error such as "Uncaught Unknown button type: colvis" which is what I got when I just tried it.
Could you do me a favour and link to your page that shows this issue so I can see why that catch code isn't working in this case.
Thanks,
Allan
Hi to everybody!
I have the same issue, I've included
https://cdn.datatables.net/select/1.0.1/js/dataTables.select.js
as @Juasmas said, but nothing changed.
Select function is working (I can select a row and also the infos under the table are updated) but, if I debug the dataTable it says that Select is not installed (http://debug.datatables.net/igozus )
Thanks for the help!
Can you link to the page showing the issue so I can debug it please.
Allan
Alley I can't link to the page, is on an internal development server. I believe the issue was with datatools, Datatables must have switched from datatools a few days after we purchased and downloaded the library.
I have just experienced the same error message with buttons, - but they work fine with the select extension
Can you link to the page so I can debug the issue? Also make sure that you don't have a trailing comma in your
buttons
array - I've seen that cause issues as it makes it look like there is anundefined
button.Allan