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

Add currency symbol in grid

Thread ID:





129256 Mar 7,2017 03:23 PM UTC Mar 8,2017 11:54 AM UTC Angular 1
Tags: ejGrid
Asked On March 7, 2017 03:23 PM UTC

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

Venkatesh Ayothi Raman [Syncfusion]
Replied On 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. 


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