You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.3 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>Data Binding Example</title>
  6. <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
  7. <!-- GC -->
  8. <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
  9. <script type="text/javascript" src="../../ext-all-debug.js"></script>
  10. <script type="text/javascript" src="binding.js"></script>
  11. <style type="text/css">
  12. body {
  13. padding: 15px;
  14. }
  15. .x-panel-mc {
  16. font-size: 12px;
  17. line-height: 18px;
  18. }
  19. </style>
  20. <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
  21. </head>
  22. <body>
  23. <h1>Data Binding Example</h1>
  24. <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>
  25. <p>Note that the js is not minified so it is readable. See <a href="binding.js">binding.js</a>.</p>
  26. <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>
  27. <body>
  28. <div id="binding-example"></div>
  29. </body>
  30. </html>