Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/www/org.tela_botanica.cel2/js/ext/examples/grid/edit-grid.html
New file
0,0 → 1,43
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Editor Grid Example</title>
 
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
 
<!-- GC -->
<!-- LIBS -->
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
<!-- ENDLIBS -->
 
<script type="text/javascript" src="../../ext-all.js"></script>
 
<script type="text/javascript" src="GroupingView.js"></script>
<script type="text/javascript" src="edit-grid.js"></script>
<link rel="stylesheet" type="text/css" href="grid-examples.css" />
 
<!-- Common Styles for the examples -->
<link rel="stylesheet" type="text/css" href="../examples.css" />
</head>
<body>
<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
<h1>Editor Grid Example</h1>
<p>This example shows how to create a grid with inline editing.</p>
<p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>
 
<p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>
 
<!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
<select name="light" id="light" style="display: none;">
<option value="Shade">Shade</option>
<option value="Mostly Shady">Mostly Shady</option>
<option value="Sun or Shade">Sun or Shade</option>
 
<option value="Mostly Sunny">Mostly Sunny</option>
 
<option value="Sunny">Sunny</option>
</select>
 
<div id="editor-grid"></div>
</body>
</html>