Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 1.67 KB

File metadata and controls

63 lines (51 loc) · 1.67 KB

WebExcel is an open source JavaScript/HTML5 data grid component with spreadsheet look & feel. It easily integrates with any data source and comes with a variety of useful features like data binding, validation, sorting or powerful context menu.

WebExcel is a fork of Handsontable 6

Table of contents

  1. Installation
  2. Basic usage
  3. Features
  4. Resources
  5. License

Installation

TODO

Basic usage

Create an empty <div> element that will be turned into a spreadsheet:

<div id="example"></div>

In the next step, pass a reference to that <div> element into the WebExcel constructor and fill the instance with sample data:

const data = [
  ["", "Tesla", "Volvo", "Toyota", "Honda"],
  ["2017", 10, 11, 12, 13],
  ["2018", 20, 11, 14, 13],
  ["2019", 30, 15, 12, 13]
];

const container = document.getElementById('example');
const hot = new Handsontable(container, {
  data: data,
  rowHeaders: true,
  colHeaders: true
});

Features

Some of the most popular features include:

| Sorting data | | Validating data | | Conditional formatting | | Merging cells | | Custom cell types | | Freezing rows/columns | | Moving rows/columns | | Resizing rows/columns | | Context menu | | Comments | | Auto-fill option | | Non-contiguous selection |

Resources

TODO:

  • API Reference
  • Compatibility
  • Change log

License

WebExcel is licensed under the MIT license available in the "/licenses/CE/LICENSE.txt" file in the main project repository.