DataTables Installation
DataTables Installation
I've just downloaded the latest release of the basic DataTables. I've unzipped the file and taken a look at some of the examples, but none of the examples included in the downloaded file work.
Under Manual, I see for local installation:
<link rel="stylesheet" type="text/css" href="/DataTables/datatables.css">
I do not see a DataTables directory in the DataTables-1.10.10 directory. I also don't see datatables.css or datatables.js in any of the included directories.
What am I missing here??
Answers
It sounds like you might be using Windows - is that correct? The download builder as a warning notification about using the default Windows unzip:
I still don't know why the Windows default package manager strips those files out - I can only presume it is a security protection mechanism - but it doesn't seem to make any sense to strip them out at the top level and leave them everywhere else! I've not been able to get a reply from Microsoft on MSDN. If anyone reads this and has any ideas what is going on, please say!
Allan
Allan,
No, I'm using WinZip. I've tried from my computer in work as well as at home.
-Rob
The download instructions assume that you have used the download builder to create a package for your needs. Is that the case?
Allan
Yes and no. I've tried both ways. I tried the download builder - selected the options I wanted, and all that happened was changes to:
Package results
Include the following in your HTML to load the required Javascript and CSS for the options selected above.
I wasn't prompted to download anything.
I then went to http://datatables.net/download/packages and clicked on the Download link for DataTables 1.10.10. That's what I downloaded and unzipped using WinZip.
-Rob
That will be the case if you don't select the local file download option. It will just give the CDN link by default - which is perhaps good enough? Depends if you want the files locally or not!
The fiel locations are slightly different in that package. Have a look in
media/js
andmedia/css
for the required files.The download builder might be a better option though.
Allan