Go to file
Rui-Sun 65ea8fbb42
Some checks are pending
Unit test CI / build (18.x) (push) Waiting to run
Merge pull request #2875 from VisActor/main
Merge main into develop
2024-11-20 11:08:27 +08:00
.github fix: bugserver build error 2024-08-20 20:53:28 +08:00
.vscode feat: add the highlightMode in select range 2024-11-04 21:30:54 +08:00
common Merge pull request #2875 from VisActor/main 2024-11-20 11:08:27 +08:00
docs docs: add guides of plugins 2024-11-20 11:05:39 +08:00
packages build: prelease version 1.11.1 2024-11-20 11:05:39 +08:00
share chore: add vue eslint rules 2024-09-04 17:46:21 +08:00
tools fix: fix tsconfigOverride config in rollup 2024-09-24 16:47:23 +08:00
types fix: type define of tableInstance to window 2023-09-12 18:37:37 +08:00
.bashrc feat: support editCellTrigger set keydown #2136 2024-07-31 18:19:57 +08:00
.editorconfig feat: Initial commit 2023-06-05 18:48:40 +08:00
.gitattributes feat: Initial commit 2023-06-05 18:48:40 +08:00
.gitignore feat: init vtable-editor 2023-11-10 18:13:12 +08:00
.lintstagedrc feat: Initial commit 2023-06-05 18:48:40 +08:00
.prettierignore feat: Initial commit 2023-06-05 18:48:40 +08:00
.prettierrc.js fix vscode editor tip error for windows 2024-03-13 17:20:06 +08:00
CODE_OF_CONDUCT.md feat: Initial commit 2023-06-05 18:48:40 +08:00
CONTRIBUTING.ja-JP.md docs: add Japanese README.md and CONTRIBUTING.md 2024-10-15 12:25:25 +09:00
CONTRIBUTING.md Merge origin/develop into feat/package-size 2024-07-03 16:34:20 +08:00
CONTRIBUTING.zh-CN.md Merge origin/develop into feat/package-size 2024-07-03 16:34:20 +08:00
LICENSE feat: Initial commit 2023-06-05 18:48:40 +08:00
README.ja-JP.md docs: add Japanese README.md and CONTRIBUTING.md 2024-10-15 12:25:25 +09:00
README.md docs: add Japanese README.md and CONTRIBUTING.md 2024-10-15 12:25:25 +09:00
README.zh-CN.md docs: add Japanese README.md and CONTRIBUTING.md 2024-10-15 12:25:25 +09:00
rush.json feat: init calendar progrem 2024-10-11 19:48:34 +08:00

VTable

VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.

IntroductiondemoTutorialAPI

npm Version npm Download license

English | 简体中文 | 日本語

video

Introduction

VTable is based on visual rendering engine VRender.

The core capabilities are as follows:

  1. Extreme performance: Supports fast computation and rendering of millions of data points.
  2. Multidimensional analysis: Automatically analyzes and presents multidimensional data.
  3. Strong expressiveness: Provides flexible and powerful graphic capabilities, seamlessly integrating with charts of VChart.

Repository Introduction

This repository includes the following packages:

  1. packages/vtable: The core code repository of VTable
  2. packages/vtable-gantt: Gantt chart component code
  3. packages/vtable-editors: Table editor component code
  4. packages/vtable-export: Table export tool code
  5. packages/vtable-search: Table search tool code
  6. packages/react-vtable: React version of the table component
  7. packages/vue-vtable: Vue version of the table component
  8. docs: Include VTable site tutorials, demos,apis and options, and also contains all Chinese and English documents.

Usage

Installation

npm package

// npm
npm install @visactor/vtable

// yarn
yarn add @visactor/vtable

Quick Start

// this demo you can run on codesanbox https://codesandbox.io/s/vtable-simple-demo-g8q738
import * as VTable from '@visactor/vtable';

const columns = [
  {
    field: 'Order ID',
    caption: 'Order ID'
  },
  {
    field: 'Customer ID',
    caption: 'Customer ID'
  },
  {
    field: 'Product Name',
    caption: 'Product Name'
  },
  {
    field: 'Sales',
    caption: 'Sales'
  },
  {
    field: 'Profit',
    caption: 'Profit'
  }
];

const option = {
  container: document.getElementById(CONTAINER_ID),
  records: [
    {
      'Order ID': 'CA-2018-156720',
      'Customer ID': 'JM-15580',
      'Product Name': 'Bagged Rubber Bands',
      Sales: '3.024',
      Profit: '-0.605'
    },
    {
      'Order ID': 'CA-2018-115427',
      'Customer ID': 'EB-13975',
      'Product Name': 'GBC Binding covers',
      Sales: '20.72',
      Profit: '6.475'
    }
    // ...
  ],
  columns
};
const tableInstance = new VTable.ListTable(option);

More demos and detailed tutorials

⌨️ Development

First of all, please install @microsoft/rush

$ npm i --global @microsoft/rush

Then clone locally:

# clone
$ git clone git@github.com:VisActor/VTable.git
$ cd VTable
# install dependencies
$ rush update
# start vtable demo
$ cd packages/vtable
# execute in file path: ./packages/vtable
$ rushx demo
# start site development server, execute in file path: ./
$ rush docs
# after execut git commit, please run the following command to update the change log. Please execute in file path: ./
$ rush change-all

📖 Documents

After installation & clone & update, run docs to preview VTable documents locally.

# start vtable document server. execute in file path: ./
$ rush docs

💫 Ecosystem

Project Description
React-VTable VTable in React component

Star History

Star History Chart

🤝 Contribution

If you would like to contribute, please read the Code of Conduct and Guide first。

Small streams converge to make great rivers and seas!

License

MIT License