3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
\r
4 <title>Editor Grid Example</title>
\r
7 <link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
8 <link rel="stylesheet" type="text/css" href="../../cssX/xtheme-slate.css"/>
10 <script type="text/javascript" src="../../roojs-all.js"></script>
12 <script type="text/javascript" src="edit-grid.js"></script>
\r
13 <link rel="stylesheet" type="text/css" href="grid-examples.css" />
\r
15 <!-- Common Styles for the examples -->
\r
16 <link rel="stylesheet" type="text/css" href="../examples.css" />
\r
19 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
\r
20 <h1>Editor Grid Example</h1>
\r
21 <p>This example shows how to create a grid with inline editing. For more details on this example, see <a href="http://www.jackslocum.com/yui/2006/09/10/adding-built-in-editing-support-to-the-yahoo-ui-extensions-grid/">the blog post</a>.</p>
\r
22 <p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>
\r
24 <p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>
\r
26 <!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
\r
27 <select name="light" id="light" style="display: none;">
\r
28 <option value="Shade">Shade</option>
\r
29 <option value="Mostly Shady">Mostly Shady</option>
\r
30 <option value="Sun or Shade">Sun or Shade</option>
\r
32 <option value="Mostly Sunny">Mostly Sunny</option>
\r
34 <option value="Sunny">Sunny</option>
\r
37 <div id="grid-panel" style="width:600px;height:300px;">
\r
38 <div id="editor-grid"></div>
\r