forked from 0x2620/oxjs
add Spreadsheet demo
This commit is contained in:
parent
2861954d35
commit
da0742e542
2 changed files with 24 additions and 0 deletions
13
demos/spreadsheet/js/spreadsheet.js
Normal file
13
demos/spreadsheet/js/spreadsheet.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
Ox.load('UI', function() {
|
||||
|
||||
Ox.Spreadsheet({
|
||||
columnPlaceholder: 'Year',
|
||||
columns: [2009, 2010, 2011],
|
||||
rowPlaceholder: 'Item',
|
||||
rows: ['Foo', 'Bar', 'Baz'],
|
||||
title: 'Spreadsheet'
|
||||
})
|
||||
.css({margin: '16px'})
|
||||
.appendTo(Ox.$body);
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue