3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <title>Stateful Array Grid Example</title>
8 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
10 <!-- overrides to base library -->
12 <!-- page specific -->
13 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
14 <link rel="stylesheet" type="text/css" href="grid-examples.css" />
17 /* style rows on mouseover */
18 .x-grid3-row-over .x-grid3-cell-inner {
22 /* style for the "buy" ActionColumn icon */
23 .x-action-col-cell img.buy-col {
26 background-image: url(../shared/icons/fam/accept.png);
29 /* style for the "alert" ActionColumn icon */
30 .x-action-col-cell img.alert-col {
33 background-image: url(../shared/icons/fam/error.png);
38 <!-- ** Javascript ** -->
39 <!-- ExtJS library: base/adapter -->
40 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
42 <!-- ExtJS library: all widgets -->
43 <script type="text/javascript" src="../../ext-all.js"></script>
45 <!-- overrides to base library -->
47 <!-- page specific -->
48 <script type="text/javascript" src="array-grid.js"></script>
52 <h1>Stateful Array Grid Example</h1>
53 <p>This example shows how to create a grid from Array data.</p>
54 <p>The grid is stateful so you can move or hide columns, reload the page, and come
55 back to the grid in the same state you left it in.</p>
56 <p>Note that the js is not minified so it is readable. See <a href="array-grid.js">array-grid.js</a>.</p>
58 <div id="grid-example"></div>