@jspreadsheet/autowidth
Advanced tools
Comparing version 2.1.3 to 2.1.4
/** | ||
* Plugin for auto width cols | ||
* | ||
* @version 2.1.3 | ||
* @version 2.1.4 | ||
* @author Guillaume Bonnaire <contact@gbonnaire.fr> | ||
@@ -57,2 +57,3 @@ * @website https://repo.gbonnaire.fr | ||
if(event=="onresizecolumn") { | ||
plugin.beforeinit(worksheet); | ||
run(worksheet); | ||
@@ -123,2 +124,5 @@ } | ||
var cols = []; | ||
if(worksheet.rows.length == 0) { | ||
return cols; | ||
} | ||
var tr = worksheet.rows[0].element; | ||
@@ -125,0 +129,0 @@ if(tr) { |
@@ -31,3 +31,3 @@ { | ||
"main": "index.js", | ||
"version": "2.1.3" | ||
"version": "2.1.4" | ||
} |
@@ -1,2 +0,2 @@ | ||
## jSpreadsheet Plugin : auto Width | ||
## jspreadsheet Plugin : auto Width | ||
@@ -17,3 +17,3 @@ The autoWidth plugin add possibility to set auto width of columns. | ||
jSpreadsheet, a lightweight Vanilla JavaScript plugin, can help you create exceptional web-based interactive tables and spreadsheets. Compatible with most widely-used spreadsheet software, such as Excel or Google Spreadsheet, it offers users an unrivalled Excel-like user experience. It also works well with prominent modern frameworks and flexibly utilizes a large collection of events, extensions and configurations to meet different application requirements. Impress your clients with a better user experience and a great dynamic interactive data management tool. | ||
jspreadsheet, a lightweight Vanilla JavaScript plugin, can help you create exceptional web-based interactive tables and spreadsheets. Compatible with most widely-used spreadsheet software, such as Excel or Google Spreadsheet, it offers users an unrivalled Excel-like user experience. It also works well with prominent modern frameworks and flexibly utilizes a large collection of events, extensions and configurations to meet different application requirements. Impress your clients with a better user experience and a great dynamic interactive data management tool. | ||
@@ -41,5 +41,5 @@ - [Download jSpreadsheet Pro](https://www.jspreadsheet.com) | ||
Initialize plugin on jSpreadsheet | ||
Initialize plugin on jspreadsheet | ||
```JavaScript | ||
jSpreadsheet(document.getElementById('spreadsheet'), { | ||
jspreadsheet(document.getElementById('spreadsheet'), { | ||
... | ||
@@ -46,0 +46,0 @@ plugins: [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11996
204