Spreadsheet Web App In Pure JavaScript – x-spreadsheet

Category: Javascript , Recommended | February 11, 2019
Author: myliang
Views Total: 128
Official Page: Go to website
Last Update: February 11, 2019
License: MIT

Preview:

Spreadsheet Web App In Pure JavaScript – x-spreadsheet

Description:

x-spreadsheet is a pure JavaScript library used to generate an Excel & Google Sheets style spreadsheet for the web.

Features:

  • Undo/redo
  • Paint/clear format
  • Text format
  • Font family
  • Font size
  • Bold
  • Italic
  • Strikethrough
  • Text color
  • Fill color
  • Borders
  • Alignment
  • Text wrapping
  • Freeze cell
  • Functions: Sum, Average, Max, Min, and Concat.
  • Insert/delete cells, rows & columns.

How to use it:

Install & download the x-spreadsheet.

# NPM
$ npm install x-data-spreadsheet --save

Import the Spreadsheet module.

import Spreadsheet from 'x-data-spreadsheet';

Create a container element to hold the spreadsheet.

<div id="demo"></div>

Create a new spreadsheet in the container element you created.

new Spreadsheet(document.getElementById('demo')).loadData({
    // ...
});

Changelog:

v1.0.4 (02/11/2019)

  • if the width of the line is an odd number of pixels, draw n.5 else n.0

v1.0.2 (01/31/2019)

  • firefox mousewheel bug

You Might Be Interested In:


Leave a Reply