@anydown/vue-spreadsheet-lite

0.2.1 • Public • Published

vue-spreadsheet-lite

Logo

Lightweight full-scratched spreadsheet component. WIP

Usage

npm install -D @anydown/vue-spreadsheet-lite

import VueSpreadsheetLite from "vue-spreadsheet-lite";
import "vue-spreadsheet-lite/dist/vue-spreadsheet-lite.css";

...

components: {
  VueSpreadsheetLite
}

...

data() {
  return {
    demoBasic: {
      header: [
        { name: "Name", width: 200 },
        { name: "Age", width: 60 },
        { name: "Gender", width: 60 }
      ],
      data: [
        ["Yamada Taro", "12", "M"],
        ["Yamada Hanako", "12", "M"],
        ["Sato Jiro", "12", "M"],
        ["Sato Hanako", "12", "M"]
      ]
    }
  };
}

in template:

<vue-spreadsheet-lite :data="demoBasic.data" :header="demoBasic.header"/>

Readme

Keywords

none

Package Sidebar

Install

npm i @anydown/vue-spreadsheet-lite

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

522 kB

Total Files

15

Last publish

Collaborators

  • hashrock