Sai Kiran
Sai Kiran

Reputation: 55

Getting error while importing grid from ag-grid-enterprise

I am getting ../ag-grid-enterprise/main has no exported member grid/grid-options.

import { Grid, GridOptions } from "ag-grid-enterprise";

I have installed ag-grid-enterprise version and already mentioned license key

Upvotes: 1

Views: 1671

Answers (1)

shutsman
shutsman

Reputation: 2510

Module ag-grid-enterprise does not have these members.

GridOptions exist in other module.

try next import:

import { GridOptions } from '@ag-grid-community/core';

ps: v.23

Upvotes: 1

Related Questions