File: binding.html

package info (click to toggle)
libjs-extjs 3.0.3%2Bdfsg0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 48,024 kB
  • ctags: 4,182
  • sloc: php: 819; xml: 537; sql: 44; makefile: 33
file content (30 lines) | stat: -rw-r--r-- 1,357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title>Data Binding Example</title>
	    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />

	 	<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
	    <script type="text/javascript" src="../../ext-all-debug.js"></script>
	    <script type="text/javascript" src="binding.js"></script>
		<style type="text/css">
			body {
				padding: 15px;
			}
			.x-panel-mc {
				font-size: 12px;
				line-height: 18px;
			}
		</style>
    	<link rel="stylesheet" type="text/css" href="../shared/examples.css" />
	</head>
<body>
	<h1>Data Binding Example</h1>
	<p>This example expands upon the <a href="xml-grid.html">XML Grid example</a> and shows how to implement data binding for a master-detail view.</p>
	<p>Note that the js is not minified so it is readable. See <a href="binding.js">binding.js</a>.</p>
	<p>You can find a more advanced example of the same code which abstracts each piece of this simple application into multiple classes in <a href="binding-with-classes.html">Data Binding Example - Implemented with classes</a>.</p>
	<body>
		<div id="binding-example"></div>
	</body>
</html>