forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
312 lines (267 loc) · 10 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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!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 data-jsfiddle="common" src="lib/jquery.min.js"></script>
<script data-jsfiddle="common" src="dist/jquery.handsontable.full.js"></script>
<link data-jsfiddle="common" 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 data-jsfiddle="common" rel="stylesheet" media="screen" href="demo/css/samples.css">
<script src="demo/js/samples.js"></script>
<script src="demo/js/highlight/highlight.pack.js"></script>
<link rel="stylesheet" media="screen" href="demo/js/highlight/styles/github.css">
<link rel="stylesheet" href="demo/css/font-awesome/css/font-awesome.min.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" class="forkMeOnGitHub">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="demo/github-buttons/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="demo/github-buttons/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>. It introduces more plugin hooks (for <a
href="https://github.com/warpech/jquery-handsontable/wiki/Events">Events and Callbacks</a>) and more flexible <a
href="https://github.com/warpech/jquery-handsontable/wiki/Options">Options</a>. <br>It should fully compatible
with 0.8 API. If not, please take a look at the migration guide in <a
href="https://github.com/warpech/jquery-handsontable/wiki">Wiki</a> or write us a note on <a
href="https://github.com/warpech/jquery-handsontable/issues">GitHub Issues</a>. <br>For details on what's changed,
see
<a
href="https://github.com/warpech/jquery-handsontable/blob/master/CHANGELOG.md">Changelog</a>.
</div>
</div>
<div class="columnLayout" style="min-height: 0;">
<div class="rowLayout">
<div class="descLayout">
<div class="pad" data-jsfiddle="example">
<h2>Basic usage</h2>
<div id="example"></div>
</div>
</div>
<div class="codeLayout">
<div class="pad">
<div class="jsFiddle inline-buttons">
<button class="show-source"></button>
<button class="jsFiddleLink" data-runfiddle="example">Edit in jsFiddle</button>
<button name="dump" data-dump="#example" title="Prints current data source to Firebug/Chrome Dev Tools">
Dump data to console
</button>
</div>
<script data-jsfiddle="example">
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,
minSpareRows: 1,
colHeaders: true,
contextMenu: true
});
</script>
</div>
</div>
</div>
<script type="text/javascript">
$('.show-source').click(function(event){
event.preventDefault();
$(this).toggleClass('shown');
$('pre.javascript').toggle();
});
$('.ver').text($('#example').data('handsontable').version);
</script>
</div>
<div class="centerLayout">
<h2>Examples and how-to's</h2>
<div class="linkColumn first">
<h3>Appearance</h3>
<ul>
<li>
<a href="demo/renderers.html">Cell renderers</a>
</li>
<li>
<a href="demo/renderers_html.html">Custom HTML</a>
</li>
<li>
<a href="demo/scroll.html">Scroll bars / Column stretch</a>
<ul>
<li><a href="demo/scroll_native.html">Native scroll window <sup>BETA</sup></a></li>
<li><a href="demo/scroll_native_div.html">Native scroll div <sup>BETA</sup></a></li>
</ul>
</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/col</a>
</li>
<li>
<a href="demo/sorting.html">Column sorting</a>
</li>
<li>
<a href="demo/column_resize.html">Column resize & move</a>
</li>
<li>
<a href="demo/fixed.html">Fixed rows/columns</a>
</li>
<li>
<a href="demo/pagination.html">Pagination</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>Cell types</h3>
<ul>
<li>
<a href="demo/numeric.html">Numeric</a>
</li>
<li>
<a href="demo/date.html">Date</a>
</li>
<li>
<a href="demo/checkbox.html">Checkbox</a>
</li>
<li>
<a href="demo/dropdown.html">Dropdown <sup>NEW</sup></a>
</li>
<li>
<a href="demo/autocomplete.html">Autocomplete</a>
</li>
<li>
<a href="demo/password.html">Password</a>
</li>
<li>
<a href="demo/handsontable.html">Handsontable</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>Editing</h3>
<ul>
<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>
<li>
<a href="demo/search.html">Search of values</a>
</li>
</ul>
</div>
<div class="linkColumn">
<h3>Integration</h3>
<ul>
<li>
<a href="demo/understanding_reference.html">Understand binding as reference</a>
</li>
<li>
<a href="demo/datasources.html">Array, object, function data source</a>
</li>
<li>
<a href="demo/ajax.html">Load & Save (Ajax)</a>
</li>
<li>
<a href="demo/options.html">Options</a>
</li>
<li>
<a href="demo/callbacks.html">Callbacks</a>
<ul>
<a href="demo/beforeKeyDown.html">beforeKeyDown</a>
</ul>
</li>
<li>
<a href="demo/backbone.html">Backbone.js</a>
</li>
<li>
<a href="demo/bootstrap.html">Twitter Bootstrap</a>
</li>
<li>
<a href="demo/web_component.html">W3C Web Components (beta)</a>
</li>
</ul>
</div>
<div class="clear"></div>
<h2>Source & Docs</h2>
<div class="inline-buttons">
<a class="button button-github" href="https://github.com/warpech/jquery-handsontable/blob/master/CHANGELOG.md">Changelog</a>
<a class="button button-github" href="https://github.com/warpech/jquery-handsontable"><i class="icon-github-alt"></i> Source</a>
<a class="button button-github" href="https://github.com/warpech/jquery-handsontable/wiki"><i class="icon-book"></i> Wiki</a>
<a class="button" href="https://github.com/warpech/jquery-handsontable/wiki/Options">Options</a>
<a class="button" href="https://github.com/warpech/jquery-handsontable/wiki/Methods">Methods</a>
<a class="button" href="https://github.com/warpech/jquery-handsontable/wiki/Events">Events</a>
</div>
<div class="clear"></div>
<h2>Discuss</h2>
<div class="inline-buttons">
<a class="button button-github" href="https://github.com/warpech/jquery-handsontable/wiki/FAQ">F.A.Q.</a>
<a class="button button-twitter" href="https://twitter.com/handsontable"><i class="icon-twitter"></i> Follow @handsontable</a>
<a class="button button-google-groups" href="https://groups.google.com/forum/?fromgroups=#!forum/handsontable"><i class="icon-comment"></i> Discuss on Google Groups</a>
<a class="button button-github" href="https://github.com/warpech/jquery-handsontable/issues"><i class="icon-bug"></i> Report a bug on GitHub</a>
</div>
<div class="clear"></div>
<h2>Authors</h2>
<p>
© 2013 Marcin Warpechowski / <a href="http://www.nextgen.pl/">Nextgen.pl</a>. Code and documentation licensed under <a href="https://github.com/warpech/jquery-handsontable/blob/master/LICENSE">The MIT License</a>
</p>
</div>
</div>
<script type="text/javascript">
$(function () {
if (window.location.hostname === 'warpech.github.com') {
$('#domainNotice').show();
}
});
</script>
</body>
</html>