Skip to content

Cant use moving grid

New Discussion
Programmeer Meneer Customer
Programmeer Meneer Customer asked on Sep 26, 2022 9:56 AM

ERROR

src/app/hpt/ui-components/week-grid/week-grid.component.html:19:11 - error NG8002: Can't bind to 'moving' since it isn't a known property of 'igx-grid'.
1. If 'igx-grid' is an Angular component and it has 'moving' input, then verify that it is part of this module.
2. If 'igx-grid' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

19           [moving]="true"
             ~~~~~~~~~~~~~~~

  src/app/hpt/ui-components/week-grid/week-grid.component.ts:27:16
    27   templateUrl: './week-grid.component.html',
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component WeekGridComponent.

Sign In to post a reply

Replies

  • 0
    Bozhidara Pachilova
    Bozhidara Pachilova answered on Sep 26, 2022 9:56 AM

    Hello,

    Thank you for posting to Infragistics Community!

    Similar errors are usually thrown when the related modules are not added to the parent module’s ‘imports’ array. For the grid column reordering & moving functionality to work, no particular module is needed, though, except for obviously the IgxGridModule.

    Please, make sure the following is added to your App module, or parent feature module of the target component, for example:

    import {         IgxGridModule,} from "igniteui-angular";

     

    @NgModule({
      bootstrap: [AppComponent],
      declarations: [
    	AppComponent,
    	/*etc.*/
    ],
      imports: [
    	BrowserModule,
    	BrowserAnimationsModule,
    	FormsModule,
    	IgxGridModule
    ],
      providers: [],
      entryComponents: [],
      schemas: []
    })
    export class AppModule {}

     

    Best regards,
    Bozhidara Pachilova
    Associate Software Developer

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Programmeer Meneer Customer
Favorites
0
Replies
1
Created On
Sep 26, 2022
Last Post
3 years, 5 months ago

Suggested Discussions

Created on

Sep 26, 2022 9:56 AM

Last activity on

Sep 26, 2022 9:56 AM