wx-react-grid
v1.3.0
Published
SVAR React Grid
Downloads
8
Readme
SVAR Grid for React
SVAR Grid provides ready to use control for tabular data management
Useful Links
License
SVAR Grid for React is available under MIT license.
How to Use
To use the widget, simply import the package and include the component in your Svelte file:
import { Grid } from "wx-react-grid";
export default function Demo() {
const data = [
{
id: 12,
name: "Alex Brown",
year: 1974,
},
];
const columns = [
{
id: "name",
header: "Title",
flexgrow: 1,
sort: true,
editor: "text",
},
{
id: "year",
header: "Year",
width: 100,
sort: true,
editor: "text",
},
];
return (
<Grid data={data} columns={columns} />
);
}