diff --git a/README-zh.md b/README-zh.md index 1442653..e32b568 100644 --- a/README-zh.md +++ b/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) + ## 特性 ### 🛠️格式设置 diff --git a/README.md b/README.md index 687f861..79854a0 100644 --- a/README.md +++ b/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 diff --git a/docs/guide/sheet.md b/docs/guide/sheet.md index f0e528b..5de6300 100644 --- a/docs/guide/sheet.md +++ b/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 diff --git a/docs/zh/guide/sheet.md b/docs/zh/guide/sheet.md index e16f3c0..30c0ff2 100644 --- a/docs/zh/guide/sheet.md +++ b/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