Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@jspreadsheet/autowidth
Advanced tools
The autoWidth plugin add possibility to set auto width of columns.
This plugin is Free
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.
if you have a lot a plugins, add on the top autoWidth
Option name | Description | Type | Default Value |
---|---|---|---|
fullsizeTable | Calculate size column auto to use fullsize of screen | Boolean | false |
parseAllData | Calculate size column auto with all data of columns (not only data showed) | Boolean | true |
Header on page
<script src="https://jspreadsheet.com/v8/jspreadsheet.js"></script>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v4/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://jspreadsheet.com/v8/jspreadsheet.css" type="text/css" />
<script src="/path/to/autoWidth.min.js"></script>
Initialize plugin on jspreadsheet
jspreadsheet(document.getElementById('spreadsheet'), {
...
plugins: [
...
{ name:'autoWidth', plugin:jss_autoWidth},
...
],
...
});
You can use this CDN link
<script src="https://cdn.jsdelivr.net/gh/GBonnaire/jspreadsheet-plugins-and-editors@latest/plugins/JSSV8/dist/autoWidth.min.js"></script>
npm install @jspreadsheet/autowidth
import jss_autoWidth from '@jspreadsheet/autowidth';
Copyright GBonnaire.fr and Code released under the MIT License
FAQs
Auto width columns of jspreadsheet-pro.
The npm package @jspreadsheet/autowidth receives a total of 100 weekly downloads. As such, @jspreadsheet/autowidth popularity was classified as not popular.
We found that @jspreadsheet/autowidth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.