We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error showing when build the project

Thread ID:

Created:

Updated:

Platform:

Replies:

141726 Dec 26,2018 06:51 AM UTC Jan 2,2019 05:57 AM UTC Angular - EJ 2 1
loading
Tags: Grid
Basheer Ahamed
Asked On December 26, 2018 06:51 AM UTC

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")



Thavasianand Sankaranarayanan [Syncfusion]
Replied On January 2, 2019 05:57 AM UTC

Hi Basheer, 

Greetings from Syncfusion. 

Query : Run the project working fine. but can't get the product build 
 
We have analyzed your query and we suspect that the injection of grid modules in the app.module.ts is the cause of this issue. So we suggest to inject grid modules in your project to overcome the reported issue. Please refer to the below documentation for your reference, 

                                https://ej2.syncfusion.com/angular/documentation/grid/getting-started/#module-injection  
 
Please get back to us for further assistance. 
 
Regards, 
Thavasianand S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;