gp-grid-logo
API Reference

API Overview

Browse the full API reference for @gp-grid/react with details on every component, prop, event, and helper exported by the React integration package today.

Complete API documentation for @gp-grid/react.

Exports

The @gp-grid/react package exports the following:

// Component
import { Grid } from "@gp-grid/react";

// Types
import type {
  GridProps,
  GridRef,
  ColumnDefinition,
  CellDataType,
  CellValue,
  CellPosition,
  CellRange,
  SortDirection,
  SortModel,
  FilterModel,
  DataSource,
  DataSourceRequest,
  DataSourceResponse,
  MutableDataSource,
  CellRendererParams,
  EditRendererParams,
  HeaderRendererParams,
  ReactCellRenderer,
  ReactEditRenderer,
  ReactHeaderRenderer,
  GridInstruction,
  UseGridDataOptions,
  UseGridDataResult,
} from "@gp-grid/react";

// Data Source Factories
import {
  createClientDataSource,
  createDataSourceFromArray,
  createMutableClientDataSource,
  createServerDataSource,
} from "@gp-grid/react";

// Hooks
import { useGridData } from "@gp-grid/react";