oxjs/demos/spreadsheet/js/spreadsheet.js
2011-11-30 17:36:17 +01:00

13 lines
No EOL
283 B
JavaScript

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);
});