-
Notifications
You must be signed in to change notification settings - Fork 196
Access free jqGrid from different CDNs
Content delivery network (CDNs) can improve the loading time of JavaScript files and to increase the probability that the client already have the files in the web browser cache. Free jqGrid are already placed on public CDNs. We recommend to use the described below origins in all cases if the clients have access to Internet.
To access free jqGrid 4.12.0 (or the old versions 4.11.1, 4.11.0, 4.10.0, 4.9.2, 4.9.1, 4.9 and 4.8) from cdnjs one can use the following URLs
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.12.0/css/ui.jqgrid.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.12.0/js/i18n/grid.locale-de.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.12.0/js/jquery.jqgrid.min.js"></script>
free jqGrid 4.12.0 (or the old versions 4.11.1, 4.11.0, 4.10.0, 4.9.2, 4.9.1, 4.9 and 4.8) is available from jsDelivr CDN.
<link rel="stylesheet" href="//cdn.jsdelivr.net/free-jqgrid/4.12.0/css/ui.jqgrid.css">
<script src="//cdn.jsdelivr.net/free-jqgrid/4.12.0/js/i18n/grid.locale-de.js"></script>
<script src="//cdn.jsdelivr.net/free-jqgrid/4.12.0/js/jquery.jqgrid.min.js"></script>
jsDelivr CDN provides some advanced features like the usage of version aliasing:
<link rel="stylesheet" href="//cdn.jsdelivr.net/free-jqgrid/latest/css/ui.jqgrid.css">
<script src="//cdn.jsdelivr.net/free-jqgrid/latest/js/i18n/grid.locale-de.js"></script>
<script src="//cdn.jsdelivr.net/free-jqgrid/latest/js/jquery.jqgrid.min.js"></script>
or loading of multiple files at once:
<script src="http://cdn.jsdelivr.net/g/free-jqgrid(js/i18n/grid.locale-de.js+js/jquery.jqgrid.min.js)"></script>
or
<script src="http://cdn.jsdelivr.net/g/free-jqgrid(js/i18n/grid.locale-de.js+js/jquery.jqgrid.min.js+plugins/ui.multiselect.js)"></script>
It somebody wants to test the latest version of free jqGrid one can load it directly from GitHib using RawGit service:
<link rel="stylesheet" href="//rawgit.com/free-jqgrid/jqGrid/master/css/ui.jqgrid.css"/>
<script src="//rawgit.com/free-jqgrid/jqGrid/master/js/i18n/grid.locale-de.js"></script>
<script src="//rawgit.com/free-jqgrid/jqGrid/master/js/jquery.jqgrid.src.js"></script>