0

npm install angular4-grid

Error =>: No provider for NgGrid!

map: {
'angular4-grid': 'node_modules/angular4-grid/bundles'
}
packages: {
'angular4-grid': { main: 'NgGrid.umd.js', defaultExtension: 'js' }
}

Module

import { NgGridModule } from 'angular4-grid';
@NgModule({
  imports: [
   ...
    NgGridModule
   ...
  ]
  providers:[]
})
2
  • i also got issue while going with angular4-grid and followed the below link (github.com/ggmod/angular-5-data-table) and able to implement grid functionalities like pagination, sorting , filter etc. Commented Feb 28, 2018 at 5:25
  • which version of Angular cli are using? Commented Jun 18, 2018 at 8:27

1 Answer 1

1

not sure, but try after upgrade "@angular/compiler-cli" version

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.