Browse Source

docs(readme): readme

1.readme add kickstarter link 2.sheet api docs add defaultRowHeight/defaultColWidth
master
Dushusir 5 years ago
parent
commit
146c96de66
  1. 4
      README-zh.md
  2. 4
      README.md
  3. 16
      docs/guide/sheet.md
  4. 14
      docs/zh/guide/sheet.md

4
README-zh.md

@ -21,6 +21,10 @@
- excel导入导出库: [Luckyexcel](https://github.com/mengshukeji/Luckyexcel)
- 图表插件: [chartMix](https://github.com/mengshukeji/chartMix)
## 支持
Luckysheet是MIT许可的开源项目,其持续的开发完全有赖于许多出色支持者的支持。如果您想加入他们,请考虑:
- [kickstarter](https://www.kickstarter.com/projects/luckysheet/luckysheet)
## 特性
### 🛠️格式设置

4
README.md

@ -27,6 +27,10 @@ English| [简体中文](./README-zh.md)
- Excel import and export library: [Luckyexcel](https://github.com/mengshukeji/Luckyexcel)
- Chart plugin: [chartMix](https://github.com/mengshukeji/chartMix)
## Support
Luckysheet is an MIT-licensed open source project with its ongoing development made possible entirely by the support of many awesome backers. If you'd like to join them, please consider:
- [kickstarter](https://www.kickstarter.com/projects/luckysheet/luckysheet)
## Features
### 🛠️Formatting

16
docs/guide/sheet.md

@ -17,6 +17,8 @@ eg: options.data:
"hide": 0,//Whether worksheet hide
"row": 36, //the number of rows in a sheet
"column": 18, //the number of columns in a sheet
"defaultRowHeight": 19, //Customized default row height
"defaultColWidth": 73, //Customized default column width
"celldata": [], //Initial the cell data
"config": {
"merge":{}, //merged cells
@ -108,7 +110,19 @@ eg: options.data:
### column
- type:Number
- default:18
- usage: The number of cell columns
- usage: Number of cell columns
------------
### defaultRowHeight
- type:Number
- default:19
- usage: Customized default row height, unit is px
------------
### defaultColWidth
- type:Number
- default:73
- usage: Customized default column width, unit is px
------------
### celldata

14
docs/zh/guide/sheet.md

@ -17,6 +17,8 @@ options.data示例如下:
"hide": 0,//是否隐藏
"row": 36, //行数
"column": 18, //列数
"defaultRowHeight": 19, //自定义行高
"defaultColWidth": 73, //自定义列宽
"celldata": [], //初始化使用的单元格数据
"config": {
"merge":{}, //合并单元格
@ -111,6 +113,18 @@ options.data示例如下:
- 默认值:18
- 作用: 单元格列数
------------
### defaultRowHeight
- 类型:Number
- 默认值:19
- 作用: 自定义的默认行高,单位为px
------------
### defaultColWidth
- 类型:Number
- 默认值:73
- 作用: 自定义的默认列宽,单位为px
------------
### celldata
- 类型:Array

Loading…
Cancel
Save