Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
<html>
2
<head>
3
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4
<title>Editor Grid Example</title>
5
 
6
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
7
 
8
    <!-- GC -->
9
 	<!-- LIBS -->
10
 	<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
11
 	<!-- ENDLIBS -->
12
 
13
    <script type="text/javascript" src="../../ext-all.js"></script>
14
 
15
    <script type="text/javascript" src="GroupingView.js"></script>
16
    <script type="text/javascript" src="edit-grid.js"></script>
17
    <link rel="stylesheet" type="text/css" href="grid-examples.css" />
18
 
19
<!-- Common Styles for the examples -->
20
<link rel="stylesheet" type="text/css" href="../examples.css" />
21
</head>
22
<body>
23
<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
24
<h1>Editor Grid Example</h1>
25
<p>This example shows how to create a grid with inline editing.</p>
26
<p>Note that the js is not minified so it is readable. See <a href="edit-grid.js">edit-grid.js</a>.</p>
27
 
28
<p>The data in the grid is loaded from <a href="plants.xml">plants.xml</a>.</p>
29
 
30
<!-- you must define the select box here, as the custom editor for the 'Light' column will require it -->
31
<select name="light" id="light" style="display: none;">
32
	<option value="Shade">Shade</option>
33
	<option value="Mostly Shady">Mostly Shady</option>
34
	<option value="Sun or Shade">Sun or Shade</option>
35
 
36
	<option value="Mostly Sunny">Mostly Sunny</option>
37
 
38
	<option value="Sunny">Sunny</option>
39
</select>
40
 
41
<div id="editor-grid"></div>
42
</body>
43
</html>