0.3.0 • Published 2 years ago

ad-datagrid v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ad-datagrid

NPM version Build npm-typescriptLicense]github-license-url

The purpose of this package is to create tables dynamically. It makes a table according to the data in the sent json file.

Usage/Examples

import { BasicDatagrid, rowItem } from "ad-datagrid"

const row1: Array<rowItem> = [
    { header: "Id", value: 1}
    { header: "Title", value: "lorem ipsum"}
]

const row2: Array<rowItem> = [
    { header: "Id", value: 2}
    { header: "Title", value: "lorem ipsum 2"}
]

const itemList: Array<Array<rowItem>> = [row1, row2];

function App() {
  return <BasicDatagrid rowList={itemList} />
}

Appendix

It can be written custom error message.

Demo

BasicDatagrid: demo

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago