Angular 7 project using syncfusion component. Run the project working fine. but con't get the product build (ng build --prod). show the below error.
ERROR in : Can't bind to 'dataSource' since it isn't a known property of 'ejs-grid'.
1. If 'ejs-grid' is an Angular component and it has 'dataSource' input, then verify that it is part of this module.
2. If 'ejs-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. ("<ejs-grid [ERROR ->][dataSource]='data' [allowPaging]="true" [allowSorting]="true">
<e-columns>
<e-")
: Can't bind to 'allowPaging' since it isn't a known property of 'ejs-grid'.
1. If 'ejs-grid' is an Angular component and it has 'allowPaging' input, then verify that it is part of this module.
2. If 'ejs-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. ("<ejs-grid [dataSource]='data' [ERROR ->][allowPaging]="true" [allowSorting]="true">
<e-columns>
<e-column field='FNames")