{"_id":"s-jspreadsheet","name":"s-jspreadsheet","dist-tags":{"latest":"4.10.1"},"versions":{"4.10.1":{"name":"s-jspreadsheet","title":"The Javascript Spreadsheet","description":"Jspreadsheet is a lightweight, vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with Excel, Google Spreadsheets and any other spreadsheet software.","keywords":["s-jspreadsheet"],"dependencies":{"@jspreadsheet/formula":"^1.1.0","s-jsuites":"^4.14.5"},"devDependencies":{"chai":"^4.3.4","faker":"^5.5.3","mocha":"^8.4.0"},"main":"dist/index.js","version":"4.10.1","scripts":{"test":"mocha --exit tests/**/*.test.js"},"_id":"s-jspreadsheet@4.10.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-ehRZBXRAdtVmds/KzeoTBN+FyVpZaQNcbrklHVn24BGJ/j++Pdet0SoaCcpNr7d+hWmNkhNnZ0uxKmmNX76m5Q==","shasum":"9514c467ab88e4ebf5755a348d7a79c4c72cfc92","tarball":"https://registry.npmjs.org/s-jspreadsheet/-/s-jspreadsheet-4.10.1.tgz","fileCount":27,"unpackedSize":1297729,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWsOZGp8Y3auWiCZwoCUKyKRrMM20AqDKnqrEyvGhEEwIgYlzAydeRXb3FO4TOtL0vc6CVkJbOGAFaOwOLggmfim8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi26WgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfSg//etRLUpH4X+f/wcEyUpwkAPB/YJF5d/Exw59AGtzGcM644YAT\r\nyspLSGGbR0WjUkjav/d6Z/JV/2muAsS+bLyyveGm9HVtLB/gdP2z4QahHTY5\r\nhyuqEsT54EbleFVJVBPcfYk9XPA8zJdueE81SCIzl+I+TdZhAzRNE2pw0Quw\r\nAlcIkLSD/4rQB3SwMleD9P5aELp9sSro8R+SiqgX6ph8kbCk6tBXr1PUPf+v\r\nOMp9+OaN4tuDuEN5TV5g8g8Fd8EVnTxdyetEjEdNYxqljMEJAwPvML3B8cN9\r\nj7KBqVXsV8Plcxi6RgsTUxNWKWZpfd32PmsOtYllo6XgsKEO3+LStfaYHhbs\r\nyv31Y1G4mjoWPiuFvCFnQJZbufWSX0jzldToAcVZWzsU8+m84aB85OaH70fT\r\nrFegXHB7rQ00/ULaZk7ZkWx51c+eJLTk8T1IqkQtHSokxUu3yaawPSAq0iV1\r\nrvJJ58loWOblhtW1lT2gMP0yPQBH993+bi0yqChscCYyRUnkh7XYRgTQkoLD\r\nEbj6cSQpuI90fO2CVVVWmtgR5gAoT7FU58qwXmnfTSxrFhF64v2cDe4vb4Cg\r\nBlCvi+iWdDCqqTHp9qNx+y8YYtsGPKWQyKRoDQxF/eUQCPJhLgtBOrVX5h5Q\r\nqf2jfQsKkUidCIqNUAQAIEnIRIPvSbvQYow=\r\n=dykv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"son_nn","email":"linhson1207@gmail.com"},"directories":{},"maintainers":[{"name":"son_nn","email":"linhson1207@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/s-jspreadsheet_4.10.1_1658561951604_0.46619483954176744"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-23T07:39:11.603Z","4.10.1":"2022-07-23T07:39:11.970Z","modified":"2022-07-23T07:39:12.113Z"},"maintainers":[{"name":"son_nn","email":"linhson1207@gmail.com"}],"description":"Jspreadsheet is a lightweight, vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with Excel, Google Spreadsheets and any other spreadsheet software.","keywords":["s-jspreadsheet"],"readme":"# Jspreadsheet CE v4: The JavaScript spreadsheet \r\n\r\n<b>Jexcel CE</b> has been renamed to <b>Jspreadsheet CE</b><br><br> \r\n\r\n## News\r\n- <b>Important</b>: Please import jspreadsheet.css (jexcel.css is not longer available in this package).\r\n- Please use Jsuites v4\r\n- New mask system (https://jsfiddle.net/spreadsheet/vmjo34r8/)\r\n\r\n\r\n<br><br>\r\n\r\n[**Jspreadsheet CE**](https://bossanova.uk/jspreadsheet/v4/) is a lightweight Vanilla JavaScript plugin to create amazing web-based interactive HTML tables and spreadsheets compatible\r\nwith other spreadsheet software. You can create an online spreadsheet table from a JS array,\r\nJSON, CSV or XSLX files. You can copy from excel and paste straight to your Jspreadsheet CE spreadsheet and vice versa.\r\nIt is very easy to integrate any third party JavaScript plugins to create your own custom columns, custom editors, and customize any\r\nfeature into your application. Jspreadsheet CE has plenty of different input options through its native column types to cover the most common web-based application\r\nrequirements. It is a complete solution for web data management. Create amazing applications with Jspreadsheet CE JavaScript spreadsheet.\r\n\r\n## Main advantages \r\n\r\n- Make rich and user-friendly web interfaces and applications. \r\n- You can easily handle complicated data inputs in a way users are used..\r\n- Improve your user software experience.\r\n- Create rich CRUDS and beautiful UI.\r\n- Compatibility with excel: users can move data around with common copy and paste shortcuts.\r\n- Easy customizations with easy third-party plugin integrations.\r\n- Lean, fast and simple to use.\r\n- Thousands of successful user cases.\r\n- Speed up your work dealing with difficult data entry in a web-based software.\r\n\r\n\r\n## Screenshot\r\n\r\n![The JavaScript spreadsheet](https://bossanova.uk/templates/default/img/jexcel.gif)\r\n\r\n\r\n## Installation\r\n\r\n### As node package\r\n`npm install jspreadsheet-ce`\r\n\r\n### As standalone library/js plugin\r\n[Download ZIP](https://github.com/jspreadsheet/ce/archive/master.zip)\r\n\r\nput and use the files of `dist` folder in your project (js library and css files)\r\n\r\n### With a framework\r\n\r\nSee examples section for code examples of jspreadsheets with popular frameworks\r\n### Basic demo \r\n\r\nA basic example to integrate the JavaScript spreadsheet in your website to create your first online spreadsheet. <https://codepen.io/hchiam/pen/qBRzXKK>\r\n\r\n\r\n#### Usage \r\n\r\nAdd jexcel/jspreadsheet and jsuites to your html file\r\n\r\n```html\r\n<script src=\"https://bossanova.uk/jspreadsheet/v4/jexcel.js\"></script>\r\n<script src=\"https://jsuites.net/v4/jsuites.js\"></script>\r\n<link rel=\"stylesheet\" href=\"https://jsuites.net/v4/jsuites.css\" type=\"text/css\" />\r\n<link rel=\"stylesheet\" href=\"https://bossanova.uk/jspreadsheet/v4/jexcel.css\" type=\"text/css\" />\r\n```\r\n\r\nYou should initialize your table based on a div container, such as:\r\n```html\r\n<div id=\"spreadsheet\"></div>\r\n```\r\n\r\nTo initialize a Jspreadsheet CE table you should run JavaScript, such as:\r\n```javascript\r\nvar data = [\r\n    ['Jazz', 'Honda', '2019-02-12', '', true, '$ 2.000,00', '#777700'],\r\n    ['Civic', 'Honda', '2018-07-11', '', true, '$ 4.000,01', '#007777'],\r\n];\r\n\r\njspreadsheet(document.getElementById('spreadsheet'), {\r\n    data:data,\r\n    columns: [\r\n        { type: 'text', title:'Car', width:120 },\r\n        { type: 'dropdown', title:'Make', width:200, source:[ \"Alfa Romeo\", \"Audi\", \"Bmw\" ] },\r\n        { type: 'calendar', title:'Available', width:200 },\r\n        { type: 'image', title:'Photo', width:120 },\r\n        { type: 'checkbox', title:'Stock', width:80 },\r\n        { type: 'numeric', title:'Price', width:100, mask:'$ #.##,00', decimal:',' },\r\n        { type: 'color', width:100, render:'square', }\r\n     ]\r\n});\r\n```\r\n\r\nServe your html file and then you will get the rendered table in your browser\r\n\r\n![sampleTable](./docs/sampleTable.png)\r\n\r\n\r\n## Development\r\n\r\nSee [development](development.md)\r\n\r\n## Examples\r\n\r\n- [Basic demo](./basic-demo.html)\\\r\nSimple demo (as in codepen)\r\n\r\n- [Basic demo for developing](./basic-demo.html)\\\r\nDemo using library from `dist` folder, ready to use for development of jspreadsheet\r\n\r\n- [React Implementation](https://bossanova.uk/jspreadsheet/v4/examples/react)\\\r\nA full example on how to integrate Jspreadsheet CE with React.\r\n\r\n- [VUE Implementation](https://bossanova.uk/jspreadsheet/v4/examples/vue)\\\r\nA full example on how to integrate Jspreadsheet CE with Vue.\r\n\r\n- [Search and pagination](https://bossanova.uk/jspreadsheet/v4/examples/datatables)\\\r\nFull spreadsheet example with search and pagination to bring great compatibility for those who love datatables.\r\n\r\n- [Column types](https://bossanova.uk/jspreadsheet/v4/examples/column-types)\\\r\nLearn more about the powerful column types. This example brings all native column types and how to create your own custom type.\r\n\r\n- [Javascript dropdown](https://bossanova.uk/jspreadsheet/v4/examples/dropdown-and-autocomplete)\\\r\nFull examples on how to handle simple, advanced, multiple, autocomplete and conditional dropdowns. Create amazing JavaScript tables using categories and images in your dropdowns.\r\n\r\n- [Javascript calendar, date and datetime picker](https://bossanova.uk/jspreadsheet/v4/examples/javascript-calendar)\\\r\nExample from basic to advanced calendar usage, date and datetime picker.\r\n\r\n- [Image upload](https://bossanova.uk/jspreadsheet/v4/examples/image-upload)\\\r\nThis examples shows how to upload images to your spreadsheet.\r\n\r\n- [Programmatically updates](https://bossanova.uk/jspreadsheet/v4/examples/programmatically-updates)\\\r\nHow to update your spreadsheet and its data by JavaScript.\r\n\r\n- [Table Style](https://bossanova.uk/jspreadsheet/v4/examples/table-style)\\\r\nBring a very special touch to your applications customizing your JavaScript spreadsheet.\r\n\r\n- [Events](https://bossanova.uk/jspreadsheet/v4/examples/events)\\\r\nLearn how to handle events on Jspreadsheet CE.\r\n\r\n- [Importing data](https://bossanova.uk/jspreadsheet/v4/examples/import-data)\\\r\nHow to import data from an external CSV, json file or XLSX.\r\n\r\n- [Formulas](https://bossanova.uk/jspreadsheet/v4/examples/spreadsheet-formulas)\\\r\nUnleash the power of your tables bringing formulas and custom JavaScript methods on your Jspreadsheet spreadsheet.\r\n\r\n- [Custom toolbars](https://bossanova.uk/jspreadsheet/v4/examples/spreadsheet-toolbars)\\\r\nFull example on how to enable nor customize your JavaScript spreadsheet toolbar.\r\n\r\n- [Column comments](https://bossanova.uk/jspreadsheet/v4/examples/comments)\\\r\nAllow comments in your table spreadsheet.\r\n\r\n- [Headers](https://bossanova.uk/jspreadsheet/v4/examples/headers)\\\r\nEnabled nested headers in your spreadsheet and learn how to set or get header values.\r\n\r\n- [Translations](https://bossanova.uk/jspreadsheet/v4/examples/translations)\\\r\nHow to translate the default messages from Jspreadsheet.\r\n\r\n- [Merged cells](https://bossanova.uk/jspreadsheet/v4/examples/merged-cells)\\\r\nFull example on how to handle merge cells in your JavaScript tables.\r\n\r\n- [Sorting columns](https://bossanova.uk/jspreadsheet/v4/examples/sorting)\\\r\nExample how to sort the table by a column via JavaScript.\r\n\r\n- [Lazy loading](https://bossanova.uk/jspreadsheet/v4/examples/lazy-loading)\\\r\nThis example brings a very nice feature to deal with large table datasets.\r\n\r\n\r\n\r\n## Jspreadsheet CE History\r\n\r\n### Jspreadsheet CE 4.6\r\n\r\n<b>Jexcel</b> has been renamed to <b>Jspreadsheet</b>\r\n\r\n### Jspreadsheet CE 4.0.0\r\n\r\nA special thank to the [FDL - Fonds de Dotation du Libre](https://www.fdl-lef.org/) support and sponsorship that make this version possible with so many nice features.\r\n\r\n- Support workbooks/tabs\r\n- Create a dymic jexcel table from a HTML static element\r\n- Highlight the border from cells after CTRL+C\r\n- Footer with formula support\r\n- Multiple columns resize\r\n- JSON update support (Helpers to update a remote server)\r\n- Global super event (centralized method to dispatch all events in one)\r\n- Custom helpers: =PROGRESS (progressbar), =RATING (5 star rating)\r\n- Custom helpers: =COLUMN, =ROW, =CELL, =TABLE, =VALUE information to be used on formula execution\r\n- Dynamic nested header updates\r\n- A new column type for HTML editing\r\n- New flags such as: includeHeadersOnCopy, persistance, filters, autoCasting, freezeColumns\r\n- New events such as: onevent, onchangepage, onbeforesave, onsave\r\n- More examples and documentation\r\n\r\n### Jspreadsheet CE 3.9.0 (Jexcel)\r\n- New methods\r\n- General fixes\r\n\r\n### Jspreadsheet CE 3.6.0 (Jexcel)\r\n- Better formula parsing\r\n- New events\r\n- New initialization options\r\n- General fixes\r\n\r\n### Jspreadsheet CE 3.2.3 (Jexcel)\r\n- getMeta, setMeta methods\r\n- Npm package with jSuites\r\n- General fixes\r\n\r\n\r\n### Jspreadsheet CE 3.0.1 (Jexcel)\r\n\r\nJspreadsheet CE v3 is a complete rebuilt JavaScript Vanilla version. For that reason it was not possible to keep a\r\ncomplete compatibility with the previous version. If you are upgrading you might need to implement a few updates in your code.\r\nIf you have questions, you can review the article upgrading from Jspreadsheet CE v2 or Handsontable.\r\n\r\nThe Jspreadsheet CE v3 brings lot of great new features:\r\n\r\n- Drag and drop columns.\r\n- Resizable rows.\r\n- Merge columns.\r\n- Search.\r\n- Pagination.\r\n- Lazy loading.\r\n- Full screen flag.\r\n- Image upload.\r\n- Native color picker.\r\n- Better mobile compatibility.\r\n- Better nested headers compatibility.\r\n- Amazing keyboard navigation support.\r\n- Better hidden column management.\r\n- Great data picker: dropdown, autocomplete, multiple, group options and icons.\r\n- Importing from XLSX (experimental).\r\n\r\nBig improvements are included, such as:\r\n\r\n- Complete new formula engine with no external dependencies with much faster results.\r\n- Absolutely no selectors, means a much faster application.\r\n- New native columns.\r\n- jQuery is not required anymore.\r\n- React, Vue and Angular examples.\r\n- XLSX support using a custom sheetjs (experimental).\r\n\r\n\r\n### Jspreadsheet CE 2.1.0 (Jexcel)\r\n\r\nWe are glad to bring you the latest jQuery plugin version, with the following improvements:\r\n\r\n- Mobile touch fixes.\r\n- Paste fixes & New CSV parser.\r\n\r\n### Jspreadsheet CE 2.0.0 (Jexcel)\r\n\r\n- New radio column.\r\n- New dropdown with autocomplete and multiple selection options.\r\n- Header/body separation for a better scroll/column resize behavior and compatibility.\r\n- Better text-wrap including alt+enter excel compatibility.\r\n- New set/get meta information.\r\n- New set/get config parameters.\r\n- New set/get programmatically cell style.\r\n- New set/get cell comments.\r\n- New table custom toolbar.\r\n- New responsive calendar picker.\r\n\r\n### Jspreadsheet CE 1.5.7 (Jexcel)\r\n\r\n- Checkbox column type improvements.\r\n- Destroy jQuery table updates.\r\n\r\n### Jspreadsheet CE 1.5.1 (Jexcel)\r\n\r\n- Spreadsheet data overflow and fixed headers. See an <a href='/jexcel/examples/table-with-fixed-headers'>example</a>.\r\n- Navigation improvements.\r\n\r\n\r\n### Jspreadsheet CE 1.5.0 (Jexcel)\r\n\r\n- Relative insertRow, deleteRow, insertColumn, deleteColumn.\r\n- Redo, Undo action tracker for insertRow, deleteRow, insertColumn, deleteColumn, moveRow.\r\n- New formula column recursive chain.\r\n- New alternative design option bootstrap-like.\r\n- `updateSettings` updates.\r\n\r\n\r\n## Official websites\r\n- [Jspreadsheet CE v4 - Javascript Spreadsheet](https://bossanova.uk/jspreadsheet/v4)\r\n- [Jspreadsheet CE v3 - Vanilla JavaScript](https://bossanova.uk/jspreadsheet/v3)\r\n- [Jspreadsheet CE v2 - jQuery Plugin](https://bossanova.uk/jspreadsheet/v2)\r\n\r\n- [Jspreadsheet Pro v7 - Javascript Spreadsheet](https://jspreadsheet.com/v7)\r\n- [Jspreadsheet Pro v8 - Javascript Spreadsheet](https://jspreadsheet.com/v8)\r\n\r\n## Community\r\n- [GitHub](https://github.com/jspreadsheet/ce/issues)\r\n\r\n## Contributing\r\n\r\nSee [contributing](contributing.md)\r\n\r\n## Copyright and license\r\nJspreadsheet CE is released under the [MIT license]. Contact <contact@jspreadsheet.com>\r\n\r\n## Other interesting tools\r\n- [jSuites - JavaScript plugins & Webcomponents](https://jsuites.net)\r\n- [Jspreadsheet Pro](https://jspreadsheet.com)\r\n- [LemonadeJS Reactive Library](https://lemonadejs.net)\r\n","readmeFilename":"README.md"}