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

how to change the group Summary Currency type to something other than dollars

Thread ID:

Created:

Updated:

Platform:

Replies:

118579 Mar 20,2015 10:21 AM UTC Mar 23,2015 02:24 PM UTC ASP.NET Web Forms 1
loading
Tags: Grid
Lizette Korsbæk Andersen
Asked On March 20, 2015 10:21 AM UTC

Hi 
I Need to do a grouped summary of data in a grid but it has to be in Danish currency. 
I have looked around and i cannot seem to find anything on how to set the currency type.
I tried setting the locale of the grid to da-DK but it does not work!!

please help!!  

Sellappandi Ramu [Syncfusion]
Replied On March 23, 2015 02:24 PM UTC

Hi Lizette,

Thanks for using Syncfusion products.

We have analyzed your requirement for “Grouped summary of data by using da-DK currency” and created a sample. The sample can be downloaded from following link:

Sample link: http://www.syncfusion.com/downloads/support/forum/118579/Sample_118579603018419.zip

Please refer the following steps and code snippet for enable localization.

1. Need to refer the corresponding localization script file like below.

<head runat="server">

<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title><%: Page.Title %></title>

<link rel='nofollow' href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />

<link rel='nofollow' href="Content/ej/ej.widgets.core.min.css" rel="stylesheet" />

<link rel='nofollow' href="Content/ej/default-theme/ej.theme.min.css" rel="stylesheet" />

<script src="Scripts/jquery-1.10.2.min.js"></script>

<script src="Scripts/jsviews.min.js"></script>

<script src="Scripts/jsrender.min.js"></script>

<script src="Scripts/jquery.easing-1.3.min.js"></script>

<script src="Scripts/jquery.globalize.min.js"></script>

<script src="Scripts/minified/globalize.culture.da-DK.min.js"></script>

<script src="Scripts/ej.web.all.min.js"></script>

<meta name="viewport" content="width=device-width" />

</head>

2. Need to add the locale properties in grid sample.

<ej:Grid ID="OrdersGrid" runat="server" AllowScrolling="true" AllowGrouping="true" AllowPaging="True" Locale ="da-DK" >

3. Need to set the format to currency column.

<ej:SummaryColumn SummaryType="Average" DisplayColumn="Freight" DataMember="Freight"

Prefix="Average = " Format="{0:C}" /></SummaryColumn>

For your reference we have attached online kb link for how to enable the localization in grid?

Please refers the online kb link:

http://www.syncfusion.com/kb/4008/how-to-enable-localization-in-grid

Please let us know if you have any queries.

Regards,Sellappandi R


CONFIRMATION

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.

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

;