Permalink
Browse files

docs..

  • Loading branch information...
myliang committed Jan 28, 2019
1 parent 7c3b194 commit 7ece0cd9c1c49b15e41224ec4848fc8a4c2e28da

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html style="font-size:20px">
<head>
<meta charset="utf-8">
<title>x-spreadsheet</title>
<link href="xspreadsheet.css" rel="stylesheet"></head>
<body onload="load()">
<div id="app">
<div id="xss"></div>
</div>

<script>
function load(){
x.spreadsheet(document.getElementById('xss'))
.loadData({
freeze: [2, 2],
borders: [
['thin', '#0366d6'],
],
styles: [
{ bgcolor: '#f4f5f8', wrapText: true, color: '#900b09', bbi: 0, bti: 0, bri: 0, bli: 0 },
],
merges: [
[[2, 2], [3, 3]],
],
cellmm: {
1: {
0: { text: 'testingtesttestetst' },
2: { text: 'testing' },
},
2: {
0: { text: 'render', si: 0 },
1: { text: 'Hello' },
2: { text: 'haha', merge: [1, 1] },
3: { text: 'overlayerll' },
},
8: {
8: { text: 'border test', si: 0 },
}
},
});
}
</script>
<script type="text/javascript" src="xspreadsheet.js"></script></body>
</html>
Oops, something went wrong.

0 comments on commit 7ece0cd

Please sign in to comment.