]>
Commit | Line | Data |
---|---|---|
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>Grid with Buffered Store</title>\r | |
8 | \r | |
9 | <link rel="stylesheet" type="text/css" href="../shared/examples.css" />\r | |
10 | \r | |
11 | <!-- GC -->\r | |
12 | \r | |
13 | <script type="text/javascript" src="../shared/include-ext.js"></script>\r | |
14 | <script type="text/javascript" src="../shared/options-toolbar.js"></script>\r | |
15 | \r | |
16 | <script type="text/javascript" src="buffered-store.js"></script>\r | |
17 | </head>\r | |
18 | <body>\r | |
19 | <h1>Grid with Buffered Store</h1>\r | |
20 | <p>A BufferedStore allows only a small section of a potentially very large server-side dataset to be loaded when\r | |
21 | required to be displayed, and then discarded when scrolled out of view.</p>\r | |
22 | <p>Usage of a BufferedStore causes buffered rendering of just the <b>visible</b> range of grid data.</p>\r | |
23 | <p>The "Topic" column is configured <b><code>cellWrap: true</code></b> and allows text to wrap. This causes the buffered renderer to\r | |
24 | use <b><code>variableRowHeight: true</code></b>.</p>\r | |
25 | <p>The number of rendered rows is only just larger than the visible row count. As the edge of the rendered data scrolls towards being in\r | |
26 | view, the table has new rows appended just in time, and rows removed from the receding side.</p>\r | |
27 | <p>The code is not minified, see <a href="buffered-store.js">buffered-store.js</a></p>\r | |
28 | </body>\r | |
29 | </html>\r |