]> git.proxmox.com Git - extjs.git/blame - extjs/build/examples/classic/data/associations.html
add extjs 6.0.1 sources
[extjs.git] / extjs / build / examples / classic / data / associations.html
CommitLineData
6527f429
DM
1<!DOCTYPE html>\r
2<html>\r
3<head>\r
4 <meta http-equiv="X-UA-Compatible" content="IE=edge">\r
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\r
6 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">\r
7 <title>Lazy Loading Data Associations</title>\r
8 <link rel="stylesheet" type="text/css" href="../shared/examples.css"/>\r
9\r
10 <!-- GC -->\r
11\r
12 <style type="text/css">\r
13 .beforeload {\r
14 color: blue;\r
15 }\r
16\r
17 .afterload {\r
18 color: green;\r
19 }\r
20 </style>\r
21 <script type="text/javascript" src="../shared/include-ext.js"></script>\r
22 <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r
23 <script type="text/javascript" src="associations.js"></script>\r
24</head>\r
25<body>\r
26 <h1>Lazy Loading Data Associations</h1>\r
27 <p>This example demonstrates the ability to lazy load associative data. For loading nested data in a single request, see the <a href="../app/nested-loading/nested-loading.html">nested-loading.html</a> example.</p>\r
28 <p>We look at a fictional company that sells furniture to their retail customers.</p>\r
29 <p>Note that each time you navigate down to a new level a separate request is sent to retrieve the appropriate data.</p>\r
30 <p>Once you reach the last level, we also demonstrate the ability to load back up the hierarchy. Note that this creates a new Model instance so no previous association data is present when we begin.</p>\r
31\r
32 <p>The source is not minified and can be viewed here: <a href="associations.js">associations.js</a>.</p>\r
33</body>\r
34</html>\r