GridSetting

Tags: #<Tag:0x00007f8b23556080>

I am facing the same issue mentioned in the following

node_modules/handsontable/handsontable"’ has no exported member ‘GridSettings’.

I am using handsontable version 7.1.0 with
@handsontable/angular”: “5.1.0”.

I am using import like
import { HotTableRegisterer } from ‘@handsontable/angular’;
import * as Handsontable from ‘handsontable’;

if I use it like
import { Handsontable } from ‘handsontable’;
its say no exportable member name Handsontable

While if i use it combining with handsontable-pro, its working.

import { HotTableRegisterer } from ‘@handsontable/angular’;

import { Handsontable } from ‘handsontable-pro’;

Please help.

Hey @smah80

did you use out tutorial to load Hansontable https://handsontable.com/docs/7.2.2/frameworks-wrapper-for-angular-installation.html?

You just need to import

import { HotTableModule } from ‘@handsontable/angular’;

and it load handsontable 7.2.1 or if you wish 7.1.0 but this is not longer handsontable-pro.

"dependencies": {
    "@angular/animations": "~8.2.11",
    "@angular/common": "~8.2.11",
    "@angular/compiler": "~8.2.11",
    "@angular/core": "~8.2.11",
    "@angular/forms": "~8.2.11",
    "@angular/platform-browser": "~8.2.11",
    "@angular/platform-browser-dynamic": "~8.2.11",
    "@angular/router": "~8.2.11",
    "@handsontable/angular": "^5.1.0",
    "handsontable": "^7.2.2",
    "rxjs": "~6.4.0",
    "tslib": "^1.10.0",
    "zone.js": "~0.9.1"
  },

Here’s an app build using Angular/@cli and the tutorial (node_modules excluded, so you need to call npm i) https://we.tl/t-UXukQtLEd3