New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aim-data-grid-cells

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aim-data-grid-cells

Extra cells for aim-data-grid

  • 1.2.1-beta.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source


Glide Data Grid Cells

Additional cells and features for Glide Data Grid

Version React 16+ npm bundle size License Made By Glide

Data Grid

Current cells

  • Star (Rating) Cell
  • Sparklines
  • Article
  • Dropdown
  • Range
  • User profile
  • Tags

Usage

Step 1: Add the extra cells to your grid.

import { useExtraCells } from "aim-data-grid-cells";

const Grid = () => {
  const { customRenderers } = useExtraCells();
  return <DataEditor customRenderers={customRenderers} {...rest} />;
};

Step 2: Use the cells in your getCellContent callback

import type { StarCell } from "aim-data-grid-cells";

const getCellContent = React.useCallback(() => {
  const starCell: StarCell = {
    kind: GridCellKind.Custom,
    allowOverlay: true,
    copyData: "4 out of 5",
    data: {
      kind: "star-cell",
      label: "Test",
      rating: 4,
    },
  };

  return starCell;
}, []);

Note on ArticleCell

The ArticleCell uses @toast-ui/editor to provide its editor. To make sure it works correctly your project will need to import the css file it depends on.

import "@toast-ui/editor/dist/toastui-editor.css";

Keywords

FAQs

Package last updated on 24 Oct 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc