npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sencha/best-react-grid

v1.0.2

Published

This package is the BestReactGrid component for Typescript and Javascript

Downloads

212

Readme

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