forked from rixo/GridPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (36 loc) · 1.6 KB
/
index.html
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<title>GridPicker Demo</title>
<link rel="stylesheet" href="http://cdn.sencha.io/ext-4.2.0-gpl/resources/css/ext-all-neptune.css">
<script src="http://cdn.sencha.io/ext-4.2.0-gpl/ext-all.js"></script>
<script src="examples.js"></script>
</head>
<body>
<div class="container" style="width: 960px; margin: auto;">
<h1>GridPicker Demo</h1>
<p>Here are a few examples of what you can do, and how to do it, with the <a href="https://github.com/rixo/GridPicker">`GridPicker`</a> component.</p>
<p>
I've also set up a little <a href="benchmark">benchmarking demo</a>. The code is not easily readable,
so that's not the best for learning, but it demonstrates the difference in reactivity between a buffered
grid and a regular combo box.
</p>
<h2>Example 1: Buffered Rendering</h2>
<p>50k records in a combo. How long do you think it will take to open?</p>
<div id="example1"></div>
<h2>Example 2: Simplistic Example</h2>
<p>
This example demonstrates that sensible default configuration is implemented, so you don't need
much to have the component up and running.
</p>
<div id="example2"></div>
<p>
The code for this combo fits in a standard 80 chars line:
</p>
<code>Ext.widget('gridpicker', {renderTo: 'example2', store: ['Foo', 'Bar', 'Baz']});</code>
<h2>Example 3: Grid Features</h2>
<p>If you're not interested in huge datasets, maybe the ease of presenting your data will convince you.</p>
<div id="example3"></div>
</div><!-- container -->
</body>
</html>