【问题标题】:I need begin a project with react-tabulator我需要用 react-tabulator 开始一个项目
【发布时间】:2020-03-30 19:17:50
【问题描述】:

使用 react-tabulator 我可以使用与 Tabulator (javascript) 相同的选项吗? 我需要用 react 开始一个项目,但不确定如何使用 react-tabulator

【问题讨论】:

标签: reactjs tabulator


【解决方案1】:

是的,您应该能够使用 react-tabulator 中的任何 Tabulator 选项。如果您发现任何具体问题,最好在github project 上创建问题。

这是文档中示例的link

这是一个简化的例子。

import * as React from 'react';
import ReactTabulator from 'react-tabulator'

const columns = [
  { title: 'Name', field: 'name'}
];
const data = [
  { name: 'Oli Bob'},
  { name: 'Mary May' }
];

const TabulatorComponent = <ReactTabulator columns={columns} data={data} />;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-21
    • 2016-08-08
    • 1970-01-01
    • 2013-09-19
    • 2017-02-22
    • 2019-09-17
    • 2015-08-30
    相关资源
    最近更新 更多