Buttons Won't Work
Buttons Won't Work
Restful Web Services
Posts: 202Questions: 49Answers: 2
in Extensions
I cannot seem to get the new 'buttons' extension to work and I am not sure why. I previously used tabletools and that worked fine. I have uploaded the new js files, css and edited the javascript.
If I open the console I see the following error "Uncaught TypeError: Cannot read property 'innerHTML' of null @ dataTables.buttons.min.js:30"
Can anyone help me out?
Thanks
This discussion has been closed.
Answers
Found the answer in case it helps anyone. I had an erroneous table row within my footer. That seemed to make the buttons extension stop working.
<tfoot>
<tr></tr>
</tfoot>
Hi,
Thanks for letting me know about this. I think Buttons should also cope with this. I'll add a fix and comment back here when done.
Regards,
Allan
Quick update - Buttons 1.0.1 which has now been released will accept such input.
Allan