
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@jspreadsheet/persistanceflag
Advanced tools
Replace Notification persistance and cloud by discret flag on toolbar

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.
| Option name | Description | Type | Default Value |
|---|---|---|---|
css_progress | Your class css for animated icon in progress | String | (blank) |
dateFormat | Use in text {date} for add datetime or {time} for add onlytime | Object | { year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric' } |
icon_error | Material icon code | String | error |
icon_success | Material icon code | String | check_circle |
icon_progress | Material icon code | String | cached |
showText | Show text with flag | Boolean | true |
showOnlyTime | Show onlyt type with flag | Boolean | false |
you can defined on translation global to replace var text_XXXX by flagpersistance_
| Option name | Default Value |
|---|---|
text_error | 'Not updated' |
text_progress | 'Updating' |
text_success | 'Updated {date}' |
Header on page
<script src="https://jspreadsheet.com/v7/jspreadsheet.js"></script>
<script src="https://jspreadsheet.com/v7/jsuites.js"></script>
<link rel="stylesheet" href="https://jspreadsheet.com/v7/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://jspreadsheet.com/v7/jspreadsheet.css" type="text/css" />
<script src="/path/to/persistanceFlag.min.js"></script>
Initialize plugin on jSpreadsheet
jspreadsheet(document.getElementById('spreadsheet'), {
toolbar: true, // or Array/object
...
plugins: [
...
{ name:'persistanceFlag', plugin:jss_persistanceFlag },
...
],
...
});
Header on page
<script src="https://jspreadsheet.com/v7/jspreadsheet.js"></script>
<script src="https://jspreadsheet.com/v7/jsuites.js"></script>
<link rel="stylesheet" href="https://jspreadsheet.com/v7/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://jspreadsheet.com/v7/jspreadsheet.css" type="text/css" />
<script src="/path/to/persistanceFlag.min.js"></script>
<style>
.jSpreadsheet-flagPersistance i {
padding: 5px;
font-size: 1.1em;
}
.jSpreadsheet-flagPersistance span {
color: #999999;
font-size: 1em;
}
</style>
Initialize plugin on jSpreadsheet
jspreadsheet(document.getElementById('spreadsheet'), {
toolbar: true, // or Array/object
...
plugins: [
...
{ name:'persistanceFlag', plugin:jss_persistanceFlag, options:{showText:false} },
...
],
...
});
You can use this CDN link
<script src="https://cdn.jsdelivr.net/gh/GBonnaire/jspreadsheet-plugins-and-editors@latest/plugins/dist/persistanceFlag.min.js"></script>
npm install @jspreadsheet/persistanceflag
import jss_persistanceFlag from '@jspreadsheet/persistanceflag';
Copyright GBonnaire.fr and Code released under the MIT License
FAQs
Change persistance flag and add this flag into toolbar.
We found that @jspreadsheet/persistanceflag demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.