Getting them download buttons to show up? How?
Getting them download buttons to show up? How?
the dom option is the most complex thing from the whole documentation page. i don't understand anything from it. Its super weird too.
So I chose to use the example provided as dom option but it doesn't show any button....
All I want is at least one to show up to know what I'm doing wrong... The end goal is to show up download to pdf, excel print, html5 above the table or below it.
I hope you guys can understand the dom option is too complex... It may be useful and smart if you understand how to use it but I do not. I've read and re-read and still don't.
This question has an accepted answers - jump to answer
Answers
Yup. It even has a note in its documentation to say that it is the most complex option. It will be improved for the next major release (if I ever get time to work on it!).
The code you linked to looks like it should display the Buttons. Have you included the required files for those button types? A link to the page would let me offer some help.
Allan
My site is https://cointrust.pw
Also my functions.php that does the loading of the js and css files;
http://pastebin.com/e92XCp70
ps site uses caching through cloudflare.
Edit my partner cleared that cache and it shows up now and works but the show results dropdown is gone now, why is that?
Also ColReorder and Colvisibility don't work.
Thanks for your help.
Because you don't have the
l
option in yourdom
parameter. See this example for details.Both appear to work okay for me when I load the link above. Are you getting any errors at your end?
Allan
Yea I fixed it all now but was hoping you could tell me how the sortable columns can stay the way the user sorts them even when he reloads the page? Can't you set it in localstorage?