Search Panes CDN 404

Search Panes CDN 404

cokechiucokechiu Posts: 40Questions: 14Answers: 5

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Anything I missed ?

I want to try update version of search panes, so I include the following js and css cdn from recommanded from datatable website:

https://cdn.datatables.net/searchpanes/1.1.1/js/dataTables.searchpanes.min.js
https://cdn.datatables.net/searchpanes/1.1.1/css/searchpanes.dataTables.min.css

But I got 404

Thanks.

This question has an accepted answers - jump to answer

Answers

  • sandysandy Posts: 913Questions: 0Answers: 236
    Answer ✓

    Hi @cokechiu ,

    You are missing the capital "P" in "searchPanes". If you were to visit the download builder and select only SearchPanes then the files required are as follows...

    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/searchpanes/1.1.1/css/searchPanes.dataTables.min.css"/>
     
    <script type="text/javascript" src="https://cdn.datatables.net/searchpanes/1.1.1/js/dataTables.searchPanes.min.js"></script>
    

    Hope this helps,
    Sandy

  • cokechiucokechiu Posts: 40Questions: 14Answers: 5

    @sandy

    Thanks, it works for me.

    @colin

    There is a typ0 in datatables cdn site
    https://cdn.datatables.net/#SearchPanes

  • allanallan Posts: 63,212Questions: 1Answers: 10,415 Site admin

    Thanks for spotting that and letting us know! Fixed :).

    Allan

This discussion has been closed.