There is some requirement for which I’m thinking of using nestedRow feature of Handsontable. So I need to upgrade it, as nestedRow property is available after V7.0. Currently, I’m using Handsontable with angular 6.1.
Previous Handsontable version
“@handsontable-pro/angular”: “^3.0.0”,
“handsontable-pro”: “^6.2.2”
Updated Handsontable version
“@handsontable/angular”: “^5.0.0”,
“handsontable”: “^7.0.3”
Earlier it was working fine but after updating the dependency I’m not able to bulid the code. It throws error given below:
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(254,37): error TS2339: Property ‘GridSettings’ does not exist on type ‘typeof import(“D:/project/ui/node_modules/handsontable/handsontable”)’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(290,18): error TS2339: Property ‘renderers’ does not exist on type ‘typeof import(“D:/project/ui/node_modules/handsontable/handsontable”)’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(752,43): error TS2339: Property ‘includes’ does not exist on type ‘string | number’.
- Property ‘includes’ does not exist on type ‘number’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(753,41): error TS2339: Property ‘includes’ does not exist on type ‘string | number’.
- Property ‘includes’ does not exist on type ‘number’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(1143,60): error TS2345: Argument of type ‘string | number’ is not assignable to parameter of type ‘string’.
- Type ‘number’ is not assignable to type ‘string’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(1145,18): error TS2339: Property ‘includes’ does not exist on type ‘string | number’.
- Property ‘includes’ does not exist on type ‘number’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(1146,16): error TS2339: Property ‘replace’ does not exist on type ‘string | number’.
- Property ‘replace’ does not exist on type ‘number’.
- src/app/pages/home/components/rate-cards/rate-cards-data/edit-rate-card/edit-rate-card.component.ts(1219,82): error TS2345: Argument of type ‘string | number’ is not assignable to parameter of type ‘string’.
- Type ‘number’ is not assignable to type ‘string’.