forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
222 lines (195 loc) · 6.86 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>Handsontable - jQuery grid editor. Excel-like grid editing with HTML & JavaScript</title>
<!--
Loading Handsontable (full distribution that includes all dependencies apart from jQuery)
-->
<script src="lib/jquery.js"></script>
<script src="dist/jquery.handsontable.full.js"></script>
<link rel="stylesheet" media="screen" href="dist/jquery.handsontable.full.css">
<!--
Loading demo dependencies. They are used here only to enhance the examples on this page
-->
<link rel="stylesheet" media="screen" href="demo/css/samples.css">
<!--
Facebook open graph. Don't copy this to your project :)
-->
<meta property="og:title" content="Handsontable - jQuery grid editor">
<meta property="og:description" content="Excel-like data grid with HTML & JavaScript">
<meta property="og:url" content="http://handsontable.com/">
<meta property="og:image" content="http://handsontable.com/demo/image/og-image.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="409">
<meta property="og:image:height" content="164">
<link rel="canonical" href="http://handsontable.com/">
<!--
Google Analytics for GitHub Page. Don't copy this to your project :)
-->
<script src="demo/js/ga.js"></script>
</head>
<body class="home">
<a href="http://github.com/warpech/jquery-handsontable">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"/>
</a>
<div id="container">
<div class="centerLayout">
<h1>
<a href="index.html">Handsontable <span class="ver small"></span></a>
<iframe id="githubWatch"
src="http://ghbtns.com/github-btn.html?user=warpech&repo=jquery-handsontable&type=watch&count=true"
frameborder="0" scrolling="0" width="104" height="20"></iframe>
<iframe id="githubFork"
src="http://ghbtns.com/github-btn.html?user=warpech&repo=jquery-handsontable&type=fork&count=true"
frameborder="0" scrolling="0" width="87" height="20"></iframe>
</h1>
<div class="tagline">a minimalistic Excel-like <span class="nobreak">data grid</span> editor
for HTML, JavaScript & jQuery
</div>
<div class="warning" id="domainNotice">
This page has been moved to
<a href="http://handsontable.com/">http://handsontable.com/</a>. Please update your bookmarks.
</div>
<div class="warning">
This is a new version <span class="ver"></span>. Most importantly, it introduces <a href="demo/scroll.html">virtual
rendering</a>. See <a href="https://github.com/warpech/jquery-handsontable/wiki/Changelog">Changelog</a> for more
info. <br>You can try the previous version here: <a
href="http://handsontable.com/0.7.5/" style="font-weight: bold">0.7.5</a> (please note that 0.7.x branch will
not be maintained anymore).
</div>
<div id="example"></div>
<script>
$(document).ready(function () {
var data = [
["", "Maserati", "Mazda", "Mercedes", "Mini", "Mitsubishi"],
["2009", 0, 2941, 4303, 354, 5814],
["2010", 5, 2905, 2867, 412, 5284],
["2011", 4, 2517, 4822, 552, 6127],
["2012", 2, 2422, 5399, 776, 4151]
];
$('#example').handsontable({
data: data,
minRows: 5,
minCols: 6,
minSpareRows: 1,
autoWrapRow: true,
colHeaders: true,
contextMenu: true
});
$('.ver').text($('#example').data('handsontable').version);
});
</script>
<h2>Examples and how-to's</h2>
<div class="linkColumn first">
<h3>Appearance</h3>
<ul>
<li>
<a href="demo/renderers.html">Cell types</a>
</li>
<li>
<a href="demo/renderers_html.html">Custom HTML</a>
</li>
<li>
<a href="demo/scroll.html">Scroll bars / Column stretch</a>
</li>
<li>
<a href="demo/conditional.html">Conditional formatting</a>
</li>
<li>
<a href="demo/prepopulate.html">Pre-populate new rows</a>
</li>
<li>
<a href="demo/current.html">Highlight current row & column</a>
</li>
<li>
<a href="demo/sorting.html">Column sorting</a>
</li>
<li>
<a href="demo/column_resize.html">Manual column resize & move</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>Editing</h3>
<ul>
<li>
<a href="demo/numeric.html">Numeric</a>
</li>
<li>
<a href="demo/date.html">Date</a>
</li>
<li>
<a href="demo/autocomplete.html">Autocomplete</a>
</li>
<li>
<a href="demo/validation.html">Validation</a>
</li>
<li>
<a href="demo/dragdown.html">Drag-down</a>
</li>
<li>
<a href="demo/buttons.html">Custom buttons</a>
</li>
<li>
<a href="demo/contextmenu.html">Context menu</a>
</li>
<li>
<a href="demo/readonly.html">Read-only cells</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>Integration</h3>
<ul>
<li>
<a href="demo/understanding_reference.html">Understanding binding as reference</a>
</li>
<li>
<a href="demo/datasources.html">Array, object, function data sources</a>
</li>
<li>
<a href="demo/ajax.html">Load & Save (Ajax)</a>
</li>
<li>
<a href="demo/callbacks.html">Callbacks</a>
</li>
<li>
<a href="demo/backbone.html">Backbone.js</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>GitHub</h3>
<ul>
<li>
<a href="https://github.com/warpech/jquery-handsontable">API reference, Source</a>
</li>
<li>
<a href="https://github.com/warpech/jquery-handsontable/wiki/Changelog">Changelog</a>
</li>
<li>
<a href="https://github.com/warpech/jquery-handsontable/issues">Issues</a>
</li>
<li>
<a href="https://twitter.com/handsontable">@handsontable</a>
</li>
</ul>
</div>
<div class="clear"></div>
<h2>Authors</h2>
<p>
Marcin Warpechowski / <a href="http://www.nextgen.pl/">Nextgen.pl</a>
</p>
</div>
</div>
<script type="text/javascript">
$(function () {
if (window.location.hostname === 'warpech.github.com') {
$('#domainNotice').show();
}
});
</script>
</body>
</html>