Openinula-VTable
VTable is not just a high-performance multidimensional data analysis table, but also a grid artist that creates art between rows and columns.Openinula-VTable is a openinula wrapper of VTable.
Usage
Installation
npm package
// npm
npm install @visactor/openinula-vtable
// yarn
yarn add @visactor/openinula-vtable
Quick Start
import Inula from 'openinula';
const option = {
header: [
{
field: "0",
caption: "name",
},
{
field: "1",
caption: "age",
},
{
field: "2",
caption: "gender",
},
{
field: "3",
caption: "hobby",
},
],
records: new Array(1000).fill(["John", 18, "male", "🏀"]),
};
Inula.render(
<ListTable option={option} height={'500px'}/>,
(document.getElementById('root') as HTMLElement)
);
More demos and detailed tutorials
Related Links
Ecosystem
Contribution
If you would like to contribute, please read the Code of Conduct 和 Guide first。
Small streams converge to make great rivers and seas!
License
MIT License