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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Column template is not rendering correctly for production build

Thread ID:

Created:

Updated:

Platform:

Replies:

143932 Apr 10,2019 09:53 PM UTC Apr 26,2019 12:14 PM UTC Angular - EJ 2 8
loading
Tags: Grid
Abhishek
Asked On April 10, 2019 09:53 PM UTC

Column template is not rendering correctly while building the app for production:  ng build --prod

See screenshots in attachment.

Attachment: print_51ef245d.zip

Viktor
Replied On April 11, 2019 11:20 AM UTC

the same issue ! (:


Thavasianand Sankaranarayanan [Syncfusion]
Replied On April 11, 2019 01:18 PM UTC

Hi Abhishek,  

Thanks for contacting Syncfusion support. 

Query: Column template is not rendering correctly while building the app for production:  ng build –prod 

We have checked your query viewed your attached screenshot. We have tried to reproduce the issue, but it is unsuccessful. We have prepared a sample like your grid code where column template is rendered correctly when build the application in production mode. Please refer the below sample link. 
 
[package.json] 
  "name": "syncfusion-ej2-grid", 
  "scripts": { 
    "build": "ng build --prod", 
      .  .  .  .  . 
 }, 
 
Run the sample by using the below commands: 
  • npm i -g http-server
  • npm build
  • http-server ./dist

 
 
Regards, 
Thavasianand S. 


Viktor
Replied On April 13, 2019 08:48 PM UTC

hello syncfusion support,
i was able to reproduce (based on your sample) the issue (see screenshot below)!
please refer the below sample link.
regards
viktor



Attachment: Syncfusioncolumntemplate_d264ea9a.zip

Viktor
Replied On April 16, 2019 07:58 AM UTC

hello syncfusion support,
have you had a chance to look into this?
to be honest i would classify this issue as a "showstopper" because it makes inpossible to upgrade to a new 17x version.
thanks
regards
viktor


Thavasianand Sankaranarayanan [Syncfusion]
Replied On April 16, 2019 11:26 AM UTC

Hi Viktor,  

Thanks for your update. 

Query: i was able to reproduce (based on your sample) the issue (see screenshot below)!
please refer the below sample link. 
 

We have checked your query and viewed your attached screenshot. We are able to reproduce the issue. We have logged “Cannot read property 'viewContainerRef' of undefined” as a bug. It will be included in our upcoming 24th April, 2019 patch release. Until then we appreciate your patience. Please refer the below code snippet and workaround sample to achieve your requirement. 
 
[.angular.json] 
"configurations": { 
            "production": { 
              .   .   .   . 
              "optimization": false, 
             "outputHashing": "all", 
                .   .   .   . 
                          } 
}, 
 
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below link:  
 
Please get back to us if you need further assistance. 
 
Regards, 
Thavasianand S. 


Ebenezer
Replied On April 17, 2019 01:30 PM UTC

Hi All, 
     I'm facing the exact same issue on my side and i already raised a ticket regarding the same issue but still support team saying that they couldn't reproduce it. If any updates regarding this issue kindly let us know about it. Its a major show-stopper for us.

My thread ID : 144029

Regards, 
Justin Ebenezer

Gurupriyadharshini Sankaranarayanan [Syncfusion]
Replied On April 18, 2019 09:43 AM UTC

Hi Ebenezer, 
 
Thanks for your update. 
 
Query :  I'm facing the exact same issue on my side and i already raised a ticket regarding the same issue but still support team saying that they couldn't reproduce it. If any updates regarding this issue kindly let us know about it. Its a major show-stopper for us. 
 
We have checked your query and able to reproduce the issue at our end. We have currently validating your query. we will update the further details on April 22, 2019.   
 
Regards, 
Gurupriyadharshini S. 


Thavasianand Sankaranarayanan [Syncfusion]
Replied On April 26, 2019 12:14 PM UTC

Hi Ebenezer, 
 
Thanks for your patience. 
 
Query 1:  I was able to reproduce (based on your sample) the issue (see screenshot below)!
please refer the below sample link.  
 
 
 
We are glad to announce that our Essential JavaScript 2 patch release (17.1.42) has been rolled out successfully and in that release, we have added the fix for the issue Cannot read property 'viewContainerRef' of undefined. 
 
Query 2: I'm facing the exact same issue on my side and i already raised a ticket regarding the same issue but still support team saying that they couldn't reproduce it. 
 
Both are different controls for thread ID 143932 it is related to ej 2 Grid and thread ID 144029 is related to ej 2 TreeGrid. So, please follow that thread ID 144029 for your query. 
 
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

Live Chat Icon For mobile
Live Chat Icon