Jump to content
We've recently updated our Privacy Statement, available here ×
  • Modify currency pattern for AdHoc view


    nbochenko
    • Features: Ad Hoc Version: v4.7, v4.7.1, v4.7.0 Product: JasperReports® Server

    To add / modify the data display forms in ad hoc view

    Issue Description:

    How to add/modify the available data display forms in ad hoc view?

    ex : '1 235 €'

    Resolution:

    You can easily modify this pattern via {jrs}WEB-INF/bundles/adhoc_masks.properties (global properties).

    For localized changes you should edit appropriate files, for example, adhoc_masks_fr.properties for French locale. For example, to set it to something like €1,235 you need to edit patterns this way:

    {jrs}ADH_100_MASK_int_2 = u20AC#,##0;(u20AC#,##0)

    {jrs}ADH_100_MASK_int_3 = #,##0;(#,##0)

    {jrs}ADH_100_MASK_dec_0 = #,##0.00

    {jrs}ADH_100_MASK_dec_1 = 0

    {jrs}ADH_100_MASK_dec_2 = u20AC#,##0.00;(u20AC#,##0.00)

    {jrs}ADH_100_MASK_dec_3 = u20AC#,##0;(u20AC#,##0)

    Where u20AC is the Unicode sign for € symbol.


    Ref. Case #00029374


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...