0.0.19 • Published 11 months ago

nanosheets v0.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Nano Sheets

A tiny (2.5kb) javascript spreadsheet UI for modern browsers, with proper virtualization and good performance. See the demo here : https://nanosheets.lecaro.me/

Screenshot of the grid

Installation

npm install nanosheets

Usage

import {NanoSheets} from "nanosheets"

const instance = NanoSheets(domNode, {
    data:{'0_0':'Hello world'},
    onChange(data){
        data
    },
    readOnly:false,
})

Features :

  • copy paste from excel
  • infinite grid
  • basic editing on mobile (no selection of multiple cells though)
  • selection with common mouse and keyboard shortcuts
  • virtualized display that can easily display massive datasets
  • in-place editing of the data object to use as little ram as possible
  • simple data model (a flat hash map of coordinates to string values)
  • customise the look of every cell

TODO

  • ctrl+A to select whole sheet content

How to contribute

  • bugfix PRs are welcome
  • new features PRs are not welcome
  • Issues for bugs are not welcome
  • Issues for new features are not welcome

License

MIT

0.0.12

11 months ago

0.0.13

11 months ago

0.0.14

11 months ago

0.0.15

11 months ago

0.0.16

11 months ago

0.0.17

11 months ago

0.0.18

11 months ago

0.0.19

11 months ago

0.0.11

11 months ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago