selectAll button did not work
selectAll button did not work
I try to use the select all button after reading the documentation https://datatables.net/reference/button/selectAll
buttons: [
'selectAll',
'selectNone'
],
However the button did not show.
The datatables debugger info:
https://debug.datatables.net/ofipej
By the way, I find another person's question https://datatables.net/forums/discussion/30460/buttons-are-not-showing-up
And I find a working environment online from the answs.
live.datatables.net/yivilisu/138/edit
buttons: [
'copy', 'excel', 'pdf'
]
when I try to modify the copy to selectAll, then all buttons disappeared.
This question has an accepted answers - jump to answer
Answers
Hi @ChuckLu ,
It's probably because you're missing the CSS (or JS) files. If you look at this page here , look at the JavaScript and CSS tabs on the bottom of the page and ensure you have those files in your page.
Cheers,
Colin
Hi @colin,
not sure what's wrong with the test.
I believe I already added all the dependencies required.
Hi @ChuckLu ,
The problem was because you hadn't included the Select extension in your file list - see your modified example here
Cheers,
Colin
Hi @colin,
Thanks, I have check the online Example and add the select extension and now it works.
http://live.datatables.net/yivilisu/140/edit
I definitely remember I have add select extension on my local Example, maybe I forgot something else.
I will compare with the online Example to check the problem, thanks again.