Ron,
Here's a list of things to consider in that case:
- You should change this line:
url:
'http://sasva.demo.sas.com/SASStoredProcess/do?_program=%2FShared+Data%2FCustomSTP%2FTestGrid',
to this:
url:
'/SASStoredProcess/do?_program=%2FShared+Data%2FCustomSTP%2FTestGrid',
You should not need to specify the full hostname and the protocol if you are loading your .html file correctly. This will make your code more portable and ensures you're not having problems with same origin policy or a mismatch when switching between http/https.
I expect your DataGrid.txt file you attached is called DataGrid.html in your system, and when stored inside your htdocs directory, you should be loading it with a URL like
http://sasva.demo.sas.com/[whateversubdirectoryinyourhtdocs]/DataGrid.html
With that out of the way, the main thing I can think of is that your browser session inside your controlled environment is not able to access the external internet, therefore unable to source the JavaScript files from the CDNs. This should show up on the Network tab of Chrome DevTools as red, failed requests and should be obvious. If that's the case, you should copy down the .js and .css files sourced at the top of your html page into the same directory as your DataGrid.html, and change your <head> to something like this:
<head>
<!-- The jQuery library is a prerequisite for all jqSuite products -->
<script type="text/ecmascript" src="jquery-2.1.1.min.js"></script>
<!-- This is the JavaScript file of jqGrid -->
<script type="text/ecmascript" src="jquery.jqGrid.min.js"></script>
<!-- This is the localization file of the grid controlling messages, labels, etc. -->
<!-- We support more than 40 localizations -->
<script type="text/ecmascript" src="grid.locale-en.js"></script>
<!-- A link to a jQuery UI ThemeRoller theme, more than 22 built-in and many more custom -->
<link rel="stylesheet" type="text/css" media="screen" href="jquery-ui.css" />
<!-- The link to the CSS that the grid needs -->
<link rel="stylesheet" type="text/css" media="screen" href="ui.jqgrid.css" />
As Vasilij suggests, you should spend some time getting comfortable with the DevTools console and the Network tab - all of these problems should be pretty obvious from there.
Nik
... View more