Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / grid / array-grid.html
index 2daaa94..8b50df1 100644 (file)
@@ -1,52 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     <title>Stateful Array Grid Example</title>
-
-    <!-- ** CSS ** -->
-    <!-- base library -->
     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
-
-    <!-- overrides to base library -->
+    <link rel="stylesheet" type="text/css" href="../shared/example.css" />
+    <script type="text/javascript" src="../../bootstrap.js"></script>
 
     <!-- page specific -->
-    <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
-    <link rel="stylesheet" type="text/css" href="grid-examples.css" />
-
-    <style type=text/css>
+    <style type="text/css">
         /* style rows on mouseover */
-        .x-grid3-row-over .x-grid3-cell-inner {
+        .x-grid-row-over .x-grid-cell-inner {
             font-weight: bold;
         }
-
-        /* style for the "buy" ActionColumn icon */
-        .x-action-col-cell img.buy-col {
+        /* shared styles for the ActionColumn icons */
+        .x-action-col-cell img {
             height: 16px;
             width: 16px;
-            background-image: url(../shared/icons/fam/accept.png);
+            cursor: pointer;
         }
-
-        /* style for the "alert" ActionColumn icon */
+        /* custom icon for the "buy" ActionColumn icon */
+        .x-action-col-cell img.buy-col {
+            background-image: url(../shared/icons/fam/accept.gif);
+        }
+        /* custom icon for the "alert" ActionColumn icon */
         .x-action-col-cell img.alert-col {
-            height: 16px;
-            width: 16px;
-            background-image: url(../shared/icons/fam/error.png);
+            background-image: url(../shared/icons/fam/error.gif);
         }
-
     </style>
-
-    <!-- ** Javascript ** -->
-    <!-- ExtJS library: base/adapter -->
-    <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
-
-    <!-- ExtJS library: all widgets -->
-    <script type="text/javascript" src="../../ext-all.js"></script>
-
-    <!-- overrides to base library -->
-
-    <!-- page specific -->
     <script type="text/javascript" src="array-grid.js"></script>
-
 </head>
 <body>
     <h1>Stateful Array Grid Example</h1>
@@ -54,7 +36,6 @@
     <p>The grid is stateful so you can move or hide columns, reload the page, and come
     back to the grid in the same state you left it in.</p>
     <p>Note that the js is not minified so it is readable. See <a href="array-grid.js">array-grid.js</a>.</p>
-    
     <div id="grid-example"></div>
 </body>
 </html>
\ No newline at end of file