Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145762 | Jul 8,2019 03:10 AM UTC | Jul 24,2019 01:54 PM UTC | Angular - EJ 2 | 5 |
![]() |
Tags: Gantt Chart |
ERROR TypeError: Cannot read property 'ganttProperties' of undefined
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/date-processor.js.DateProcessor.getProjectStartDate (date-processor.js:401)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.calculateScheduledValues (task-processor.js:340)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.createRecord (task-processor.js:189)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.prepareRecordCollection (task-processor.js:138)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.prepareDataSource (task-processor.js:129)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.cloneDataSource (task-processor.js:118)
at TaskProcessor.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/task-processor.js.TaskProcessor.checkDataBinding (task-processor.js:61)
at GanttComponent.push../node_modules/@syncfusion/ej2-gantt/src/gantt/base/gantt.js.Gantt.render (gantt.js:432)
at GanttComponent.push../node_modules/@syncfusion/ej2-base/src/component.js.Component.appendTo (component.js:134)
at component-base.js:100
here is my package json:
{ "name": "smartmob", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "^8.1.2", "@angular/cdk": "^8.1.1", "@angular/common": "^8.1.2", "@angular/compiler": "^8.1.2", "@angular/core": "^8.1.2", "@angular/forms": "^8.1.2", "@angular/http": "^7.2.15", "@angular/material": "^8.1.1", "@angular/platform-browser": "^8.1.2", "@angular/platform-browser-dynamic": "^8.1.2", "@angular/router": "^8.1.2", "@syncfusion/ej2-angular-gantt": "^17.2.35", "angular-2-daterangepicker": "^1.1.52", "angular-wizard-form": "^0.4.1", "angular2-flash-messages": "^3.0.1", "angular2-text-mask": "^9.0.0", "angular2-wizard": "^0.4.0", "bootstrap": "^4.3.1", "chart.js": "^2.8.0", "core-js": "^3.1.4", "datatables.net": "^1.10.19", "datatables.net-bs4": "^1.10.19", "daterangepicker": "^3.0.5", "daypilot-pro-angular": "https://npm.daypilot.org/daypilot-pro-angular/trial/2018.2.3297.tar.gz", "font-awesome": "^4.7.0", "html2canvas": "^1.0.0-alpha.12", "jsgantt-improved": "^2.3.0", "jspdf": "^1.5.3", "moment": "^2.24.0", "ng-gantt": "^2.1.0", "ng2-charts": "^2.3.0", "ngx-spinner": "^8.0.3", "node-sass": "^4.12.0", "rxjs": "~6.5.2", "sweetalert2": "^8.14.0", "terser": "^4.1.2", "ts": "^0.2.2", "zone.js": "~0.9.1" }, "devDependencies": { "@angular-devkit/build-angular": "^0.801.2", "@angular/cli": "^8.1.2", "@angular/compiler-cli": "^8.1.2", "@angular/language-service": "^8.1.2", "@types/jasmine": "^3.3.14", "@types/jasminewd2": "^2.0.6", "@types/jquery": "^3.3.30", "@types/node": "~12.6.8", "codelyzer": "~5.1.0", "gulp-sass": "^4.0.2", "jasmine-core": "~3.4.0", "jasmine-spec-reporter": "~4.2.1", "jquery": "^3.4.1", "karma": "~4.2.0", "karma-chrome-launcher": "~3.0.0", "karma-coverage-istanbul-reporter": "~2.0.6", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.2", "protractor": "^5.4.2", "ts-node": "~8.3.0", "tslint": "~5.18.0", "typescript": "^3.4.5" }}
appended are the component file and the component html
Attachment: Documents_a715a90b.zip
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.