Buttons + Server-Side/Ajax
Buttons + Server-Side/Ajax
daerimin
Posts: 3Questions: 1Answers: 0
Hello,
I've noticed that the export/copy/pdf, etc. buttons do not render on DataTables where I am using serverSide:true and the ajax: {url} paramaters.
Is there a way to make this work?
Thanks!!
This discussion has been closed.
Answers
I dont believe that using
serverSide
orajax
should actually have any impact on using thebuttons
.. Can we have a look at the JS code? or the page with the JS?Of course. I will have to redact some non-relevant information, but here's it is. The table renders correctly, everything else works, I just only see the buttons if I remove the serverSide and ajax parameters.
This isnt relevant to the question, but I notice for
ajax
, you attach params like so:I think this might work a little better
Just a suggestion
Agreed. Definitely better form - I will change that. :)