Socket
Book a DemoInstallSign in
Socket

@sencha/best-react-grid

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sencha/best-react-grid

This package is the BestReactGrid component for Typescript and Javascript

1.0.1
npmnpm
Version published
Maintainers
1
Created
Source

BestReactGrid Component

This package contains the React Component <BestReactGrid /> for TypeScript and JavaScript.

1. Create React App

  • Run npx create-react-app --template minimal my-app
  • Run cd my-app

2. Add BestReactGrid

  • Run npm add best-react-grid

3. Build your Component

import React from "react";
import { BestReactGrid, Column } from "@sencha/best-react-grid";
import "@sencha/best-react-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 (
      <BestReactGrid data={data} style={{ width: "500px", height: "300px" }}>
        <Column field="col1" text="Column 1" flex="1" />
        <Column field="col2" text="Column 2" />
        <Column field="col3" text="Column 3" align="right" />
      </BestReactGrid>
    );
  }
}

4. Run App

  • Run npm start

5. Procure and Set the License key

  • To procure the license, kindly visit BestReactGrid
  • Add BestReactGrid.setLicense("<Your_procured_license_key>")

Documentation

  • The complete documentation of BestReactGrid with live examples and configurations can be checked here: Documentation

Keywords

grid

FAQs

Package last updated on 22 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.