Aggregate not working in production

Hi,

first I thought the Grid doesn't display any records because I messed up the Internationalization settings. Now I realized that it is the aggregate function that's blocking
the rendering of the records.

Since I wasn't sure if my settings for the aggregation were wrong, I added the sample code from this Plunker I found in your docs: https://plnkr.co/edit/?p=preview

This doesn't work on an deployed Angular app which I'm hosting on an IIS.

It just displays "No records". No errors in console whatsoever

Hope you can help


Edit:

I checked the ActionFailure event, this is the output:

"Cannot read property 'fn' of undefined"

"TypeError: Cannot read property 'fn' of undefined↵    
at t.evaluate↵
at t.e.refreshCell↵
at t.e.render↵
at e.refreshRow↵
at e.render↵
at t.renderSummaryContent↵
at t.refresh↵
at e.notify↵
at t.notify↵
at e.dataManagerSuccess"

I don't get this error on my local machine...

3 Replies

RN Rahul Narayanasamy Syncfusion Team June 11, 2018 02:01 PM UTC

Hi Paul Kocher, 
Thanks for contacting Syncfusion support. 
Please provide the below details or more information regarding your problem it will be helpful for us to provide a better solution as early as possible. 
  1. Provide the Essential JavaScript Grid package version.
  2. Please find the below attachment and run it in your IIS environment to check whether the same issue is reproducing.
To run the sample, please follow the below commands. 
npm install 
npm start 
  1. Please ensure that whether you are using the same version for your local environment and IIS.
  2. Please share your grid configuration for further analysis.
  3. Please ensure that whether your data is returned properly and having any undefined value or not?
Please let us know if you have any queries. 
Regards, 
Rahul Narayanasamy. 



PK Paul Kocher June 14, 2018 07:57 AM UTC

Hello Rahul,

Haha you're great! Thanks! I checked my returned data and indeed there were some undefined values which broke the system :)


MF Mohammed Farook J Syncfusion Team June 18, 2018 06:37 AM UTC

Hi  Paul, 
 
Thanks for your feedback. 

We are happy to hear that you have achieved your requirement.  

Please get back to us if you need further assistance.  

Thanks, 
J Mohammed Farook 


Loader.
Up arrow icon