This package is the Sencha Grid React component for Typescript and Javascript
npm install @sencha/sencha-gridThis package contains the React Component for TypeScript and JavaScript.
React 18: Download the latest GRUI version starting from 2.x.x
React 16/17: Download the GRUI Version 1.x.x
- Run npx create-react-app --template minimal my-app
- Run cd my-app
- Run npm add @sencha/sencha-grid
``jsx
import React from "react";
import { SenchaGrid, Column } from "@sencha/sencha-grid";
import "@sencha/sencha-grid/dist/themes/grui.css";
export default class App extends React.Component {
render() {
const data = [
{ col1: "value1", col2: "data1", col3: 1.01 },
{ col1: "value2", col2: "data2", col3: 1.02 },
{ col1: "value3", col2: "data3", col3: 1.03 },
];
return (
);
}
}
`
- Run npm start
- To procure the license, kindly visit GRUI
- Add SenchaGrid.setLicense("
- The complete documentation of GRUI with live examples and configurations can be checked here: Documentation