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

toLocaleString with currency symbol

Thread ID:





124845 Jul 4,2016 08:38 AM UTC Jul 5,2016 08:46 AM UTC JavaScript 1
Tags: ejPivotGrid
Asked On July 4, 2016 08:38 AM UTC

Hey Guys,

first of all, i really like the changes and new functionalities you've added to the Studio, great work!!!!

I have a small problem, for the PivotGrid data, i am looping thru some values and pushing them into a new object.
to have them in the right format, im using the toLocaleString method this works for the value but if i want to add an "€" Symbol.
the value inside the PivotGrid is set to "1". 

In the console the value is set perfectly: 

purchase:"18.510.815,47 €"

when the "€" symbol is not set, the PivotGrid shows the needed value.

Can somebody help me please?



Ramesh Govindaraj [Syncfusion]
Replied On July 5, 2016 08:46 AM UTC

Hi Ruzic,   
Thank you for using Syncfusion products.   
We have logged your requirement as an improvement task - “Support to set the number format inside the datasource” in our database and we will consider this in our future implementations.    
Meanwhile, you can able to set the “number format” for value fields in “report” instead of “datasource”. Please find the below online demo and UG documentation for available number format feature.   
Ramesh G. 


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