Hello, i am trying to use your ng-table in Angular4 project
I can't even add it to my component:
package.json - > "ng-table": "^3.0.1"
When i add
import { NgTableParams } from 'ng-table';
into AppComponent(app.component.ts) everything its ok, but after that when i try to:
tableParams = new NgTableParams({}, { dataset: this.data});
i got this error:
error.txt
What am I doing wrong?
I didn't add anything into app.modules.ts and angular-cli.json - should I add something there?
This module is not meant for Angular (2 / 4), it was developed for the AngularJS framework version 1.X.X.
You may want to look at something like ng2-table
Hello, i am trying to use your ng-table in Angular4 project I can't even add it to my component: package.json - > "ng-table": "^3.0.1" When i add import { NgTableParams } from 'ng-table'; into AppComponent(app.component.ts) everything its ok, but after that when i try to: tableParams = new NgTableParams({}, { dataset: this.data}); i got this error: error.txt
What am I doing wrong? I didn't add anything into app.modules.ts and angular-cli.json - should I add something there?