1 Star 0 Fork 171

zhuch1981/x-sheet

forked from 白云/x-sheet 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
白云 提交于 2023-02-24 19:08 . merge dev
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title><%= htmlWebpackPlugin.options.title %></title>
<style>
* {
padding: 0;
margin: 0;
}
html, body {
height: 100%;
display: block;
}
</style>
</head>
<body id="demo1">
</body>
<script>
new XSheet('#demo1', {
workConfig: {
name: 'x-sheet',
top: {
option: {
show: true,
},
menu: {
show: true,
},
},
body: {
sheetConfig: {
showMenu: true,
},
sheets: [{
tableConfig: {
rows: {
data: [{height: 90}]
},
cols: {
len: 100
},
data: [
[{
contentType: 2,
fontAttr: {
textWrap: 2,
direction: 'vertical'
},
richText: {
rich: [{text: '哈哈aaFDF', color: 'rgb(255,0,2)'}, {text: 'FDFDFDF'}]
}
}]
],
xFixedBar: {
height: 2,
width: 2,
},
},
}],
tabConfig: {
showMenu: true,
},
},
bottom: {
show: true,
},
},
});
</script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/zhuch1981/x-sheet.git
git@gitee.com:zhuch1981/x-sheet.git
zhuch1981
x-sheet
x-sheet
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385