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 🙏

© 2026 – Pkg Stats / Ryan Hefner

gridify-datagrid

v2.0.2

Published

Description of your package

Downloads

6

Readme

Gridify Datagrid

Gridify Datagrid is a versatile React component for efficiently displaying tabular data in web applications. It offers a range of powerful features to help you manage and visualize your data effectively.

Features

  1. Sort, Filter, and Group Data: Easily sort, filter, and group your data to gain detailed insights.
  2. Summarize and Aggregate Columns: Aggregate data based on selected columns for deeper analysis.
  3. Customize Cell Height and Width: Customize the appearance of cells to suit your design requirements.
  4. Hide Columns for Custom Views: Toggle visibility of columns to create custom views.
  5. Managed State: Gridify manages state seamlessly, enabling smooth data management.
  6. Zero Config: No configuration required; all features are enabled by default.
  7. Modern Design: Carefully crafted for a modern and intuitive user experience.
  8. Data Syncing: Keep your data in sync with external sources using provided callback functions.

Installation

You can install Gridify Datagrid via npm:

npm install gridify-datagrid

Usage

import React from 'react';
import GridifyDatagrid from 'gridify-datagrid';

function MyDataGrid() {
  // Define columns and data
  const columns = [
    { id: 0, name: "Name" },
    { id: 1, name: "Description" },
    // Add more columns as needed
  ];

  const data = [
    { id: 0, 0: "Sam Altman", 1: "CEO @ Open AI" },
    { id: 1, 0: "Elon Musk", 1: "CEO @ Tesla" },
    // Add more data rows as needed
  ];

  // Handle data syncing callback
  const handleSyncData = (updatedData) => {
    // Update external data source with updatedData
  };

  return (
    <div>
      <h1>My Data Grid</h1>
      <GridifyDatagrid
        initialData={data}
        columns={columns}
        onSyncData={handleSyncData}
      />
    </div>
  );
}

export default MyDataGrid;

API Reference

Props

  • initialData: An array of objects representing the initial rows of data to be displayed in the datagrid.
  • columns: An array of objects defining the columns of the datagrid.
  • onSyncData: A callback function invoked whenever the data in the grid changes due to sorting, filtering, grouping, or aggregation.

Examples

Sorting Data

<GridifyDatagrid
  initialData={data}
  columns={columns}
  onSyncData={handleSyncData}
/>

Filtering Data

<GridifyDatagrid
  initialData={data}
  columns={columns}
  onSyncData={handleSyncData}
/>

Grouping Data

<GridifyDatagrid
  initialData={data}
  columns={columns}
  onSyncData={handleSyncData}
/>

Aggregating Columns

<GridifyDatagrid
  initialData={data}
  columns={columns}
  onSyncData={handleSyncData}
/>

License

Gridify Datagrid is licensed under the MIT License.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your improvements.

Support

If you encounter any issues or have questions, please open an issue on GitHub.

Credits

Gridify Datagrid is developed and maintained by @iMartinDav. Special thanks to our contributors.

That's it! You're now ready to supercharge your data app with Gridify Datagrid. Happy coding!