PDA

View Full Version : [Solved] Grid Example



busybee
4 Oct 2010, 9:45 AM
Hello,

I am trying ext js and to run a simple xml grid example. I see the grid to load on IE 8 and not on chrome 6.
Data on the grid on ie8 is not displayed as what I see on the online example. I don't find the examples to work on IE6 or Firefox 1.5


<html>
<head>
<title> Getting started with ExtJS </title>
<link rel="stylesheet" type="text/css"
href="C:\inetpub\wwwroot\lib\ext-3.2.1\resources\css\ext-all.css"/>
<script src="C:\inetpub\wwwroot\lib\ext-3.2.1\adapter\ext\ext-base.js"></script>
<script src="C:\inetpub\wwwroot\lib\ext-3.2.1\ext-all-debug.js"></script>
<script>
Ext.onReady(function() {
Ext.Msg.alert('Hello','World');
});
</script>

<script type="text/javascript" src="C:\inetpub\wwwroot\lib\ext-3.2.1\examples\grid\xml-grid.js"></script>
<link rel="stylesheet" type="text/css" href="C:\inetpub\wwwroot\lib\ext-3.2.1\examples\grid\grid-examples.css" />
</head>

<body>
<script type="text/javascript" src="C:\inetpub\wwwroot\lib\ext-3.2.1\examples\shared\examples.js"></script><!-- EXAMPLES -->
Testing extjs

<div id="example-grid"></div>

</body>
</html>

Could someone throw some hints.

Edit:
1. Was Missing the xml file in wwwroot folder
2. Changed the paths from systems paths to http://localhost/lib/.../../ etc
and worked perfectly.