3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <title>Editor Grid Example</title>
7 <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
8 <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
10 <script type="text/javascript" src="../../roojs-debug.js"></script>
13 <script type="text/javascript" src="../../Roo/grid/EditorGrid.js"></script>
14 <script type="text/javascript" src="../../Roo/grid/GridDragZone.js"></script>
17 <script type="text/javascript" src="edit-grid.js"></script>
18 <link rel="stylesheet" type="text/css" href="grid-examples.css" />
22 <!-- Common Styles for the examples -->
23 <link rel="stylesheet" type="text/css" href="../examples.css" />
26 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
27 <h1>Editor Grid Example</h1>
28 <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>
29 <p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>
31 <p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>
33 <!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
34 <select name="light" id="light" style="display: none;">
35 <option value="Shade">Shade</option>
36 <option value="Mostly Shady">Mostly Shady</option>
37 <option value="Sun or Shade">Sun or Shade</option>
39 <option value="Mostly Sunny">Mostly Sunny</option>
41 <option value="Sunny">Sunny</option>
44 <div id="grid-panel" style="width:600px;height:300px;">
45 <div id="editor-grid"></div>