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

Add currency symbol in grid

I want a column to have a '$' icon in front of a numerical value. Is there a currency type for the grid?

1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team March 8, 2017 11:54 AM UTC

Hi Zack, 
Thanks for contacting Syncfusion support. 
We have built-in support for currency formatting in column, so we have achieved your requirement by setting the format property in column. Please refer to the following code example and Help document for more information, 
Code example
<h2>Syncfusion Javascript Angular 2 Component</h2> 
<div > 
<ej-grid #grid  [dataSource]="gridData1" [allowPaging]="true"> 
        . . . 
        <e-column field="Freight" headerText="Freight" width="30" format="{0:C}" textAlign="right"></e-column> 
         . . . 

Venkatesh Ayothiraman. 

Live Chat Icon For mobile
Up arrow icon