web-spreadsheet documentation Github

        
      

Intro

A simple Excel-like spreadsheet web component built with svelte.

How to use

Install with npm:

          npm install web-spreadsheet --save
        

and import it in your code:

          import 'web-spreadsheet';
        

You can also load the code from a CDN such as jsdelivr:

          <script src="https://cdn.jsdelivr.net/npm/web-spreadsheet@latest/lib/index.min.js"></script>
        

then you can use the customElement <spread-sheet /> in your HTML code.

If you're using it in a Vue.js project, you can pass proper props columns and data into customElement such as <spread-sheet :columns="columns" :data="rows"/> Then your spreadsheet will come into view.

The columns and data props look like the code on the left←

FEATURES

TODO