[progress Communities] [progress Openedge Abl] Forum Post: Re: Change Currency

  • Thread starter Thread starter Anil Kumar
  • Start date Start date
Status
Not open for further replies.
A

Anil Kumar

Guest
Hi Bert, We can achieve this by modifying the ejs template via adding culture specific library information. Following are set of steps I have performed: When we perform ‘Preview’ operation without any changes data is displayed as below. i.e., Default behavior: Modifying the currency to Euro : 1) Download culture file (kendo.culture.de-DE.js) from Github location 2) Place it in the scripts/lib directory of the KUIB webapp ( /resources/scripts/lib) 3) Modify the entries of index.html.ejs file located ‘webapp’ directory ( /resources/resources/webapp) …. 4) Perform ‘Build’ operation in KUIB and do a ‘Preview’ and data is shown as below: Change the Pattern of the currency : 1) Edit the ‘kendo.culture.de-DE.js’ file located in ‘( /resources/scripts/lib’ directory as below currency: { name: "Euro", abbr: "EUR", pattern: ["($n)","$n"], decimals: 2, ",": ".", ".": ",", groupSize: [3], symbol: "€" } 2) Perform ‘Build’ operation in KUIB and do a ‘Preview’ and data is shown as below: Note : There is also similar post in communities pertaining to KUIB 1.0 release. Hope this helps. Thanks and Regards, Anil Kumar.

Continue reading...
 
Status
Not open for further replies.
Back
Top