Hello,
We would like to change the default format of the negativeCurrencyFormat and positiiveCurrencyFormat proposed in the format popup:
Is there a way to 'force' the format popup to select the '1$'/'-1$' by default?
Many thanks
Hello, Viguier,
Thank you for reaching out to us.
To define the default formatting in your report, you can create a format with the empty name
property. For, example:
formats: [{
name: "",
negativeCurrencyFormat: "-1$",
positiveCurrencyFormat: "1$",
}]
Kindly check the following example illustrating such an approach: https://jsfiddle.net/flexmonster/sqp2ru4b/. If you open the format popup, you will see that the suggested Positive currency format and Negative currency format will be those defined in the report.
We hope it helps.
Kind regards,
Nadia
Hello,
We have define default formatting and specific formatting for the different values but we still don't see the defined Positive currency format and negative currency format by default in the popup. Would you hava another direction for us to investigate?
We are using the 2.7.14 version of flexmonster.
Hello,
Thank you for the response.
The behavior of the default formatting was improved in some of the recent releases. We suggest updating Flexmonster to the latest version.
Kindly note that for a comfortable and quick migration to the new major version, it is essential to look through our migration guides:
Please let us know if it works for you.
Kind regards,
Nadia