JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3486
  • Score
    100M100P100Q96153F
  • License MIT

Shared TypeScript models, grid options, filtering contracts, and framework-neutral utilities for GridNexa enterprise data grids.

Package Exports

  • @gridnexa/core

Readme

GridNexa Core | Data Grid Contracts

Framework-neutral TypeScript contracts for GridNexa data grid packages.

npm license types website

@gridnexa/core contains the shared models used by the React, Angular, Vue, and JavaScript packages. Most applications should install a framework package directly; install core when you need shared types for library wrappers, backend contracts, or cross-framework tooling.

Install

npm install @gridnexa/core

Most apps should install one of these instead:

npm install @gridnexa/react
npm install @gridnexa/angular
npm install @gridnexa/vue
npm install @gridnexa/javascript

Included Contracts

  • Column
  • GridOptions
  • ColumnFilterModel
  • AdvancedFilterModel
  • MergedHeader
  • GridTransaction
  • ServerSideOperationState
  • PivotAggregation
  • GridNexaAiRequest
  • GridNexaCommandPlan
  • GridNexaCommandAction
  • GridNexaAiOptions

AI Action Plan Contract

import type { GridNexaAiRequest, GridNexaCommandPlan } from "@gridnexa/core";

export async function gridAiProvider(
  request: GridNexaAiRequest,
): Promise<GridNexaCommandPlan> {
  return {
    title: "Focus engineering performance",
    actions: [
      {
        type: "setColumnFilter",
        columnId: "department",
        filter: { type: "set", operator: "in", values: ["Engineering"] },
      },
      { type: "sort", columnId: "score", direction: "desc" },
    ],
  };
}

GridNexa AI actions are explicit and allow-listed. Providers return JSON plans; the grid decides how to apply them.

Framework Packages

  • @gridnexa/react for React UI applications
  • @gridnexa/angular for Angular UI applications
  • @gridnexa/vue for Vue UI applications
  • @gridnexa/javascript for framework-free JavaScript and TypeScript applications

License

MIT