oxjs/demos/spreadsheet/js/spreadsheet.js

13 lines
283 B
JavaScript
Raw Normal View History

2011-11-30 16:36:17 +00:00
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);
});