Skip to content Skip to sidebar Skip to footer

Dependencies Solving For GridComponent In @syncfusion/ej2-ng-grids

I followed this tutorial http://ej2.syncfusion.com/angular/documentation/grid/getting-started.html How ever when I run my project, the JIT encounter this error The InteliSense al

Solution 1:

It is be ej2-ng-grids, not ej2-grids, and GridModule is right there. So it should be

import { NgModule } from '@angular/core';
import { GridModule, GridComponent, PageService, SortService, FilterService, GroupService } from '@syncfusion/ej2-ng-grids';

@NgModule({
  imports: [GridModule],
  exports: [GridModule],
  declarations: [],
  providers: [PageService, SortService, FilterService, GroupService]
})
export class SyncFusionModule { }

And there is no need to do that because this is already done in GridAllModule. It should be imported in application module instead of custom SyncFusionModule.

Additionally, code above contains wrong inputs - datasource, etc.They should bedataSource` and so on, according to the documentation.


Post a Comment for "Dependencies Solving For GridComponent In @syncfusion/ej2-ng-grids"