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. Image for the cookie policy date
close icon

toLocaleString with currency symbol

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?

Greetings,

IR

1 Reply

RG Ramesh Govindaraj Syncfusion Team 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.   
  
  
  
Regards,
Ramesh G. 
 


Loader.
Live Chat Icon For mobile
Up arrow icon