IgniteUI / igniteui-angular-samples

Ignite UI for Angular demos for all available components and features
https://bit.ly/2L19rhp
36 stars 25 forks source link

IgxGrid custom group by sample does not compile in StackBlitz #3347

Closed ddaribo closed 1 year ago

ddaribo commented 1 year ago

Description

On opening the sample in StackBlitz, it does not compile and outputs an error.

Steps to reproduce

  1. Open this demo in StackBlitz.

Result

Error: src/app/app.component.html:1:1 - error NG8001: 'app-grid-groupby-custom-sample' is not a known element:
1. If 'app-grid-groupby-custom-sample' is an Angular component, then verify that it is part of this module.
2. If 'app-grid-groupby-custom-sample' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.

1 <app-grid-groupby-custom-sample></app-grid-groupby-custom-sample>

Expected result

To compile.

Attachments

The GridGroupByCustomSampleComponent is imported with wrong path in app.module.ts: import { GridGroupBySampleComponent } from "./grid/grid-groupby-sample/grid-groupby-sample.component"; should be: import { GridGroupByCustomSampleComponent } from "./grid/grid-groupby-custom-sample/grid-groupby-custom-sample.component";