KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Default config to Columns type = "number" #535

Open TiagoEreno opened this topic on on Nov 26, 2018 - 1 comments

TiagoEreno commented on Nov 26, 2018

Hello good Morning. I would like all columns with "type" => "number" to follow the rule of "decimals" => 2, "decimalPoint" => ',' and 'thousandSeparator' => '.', Is there a possibility of this setting?

KoolReport commented on Dec 5, 2018

We are deeply sorry for our late reply.

For your question, You may need to use the Map process, with that you can set all columns

Here is our documentation of Map process.

You need to write the custom code inside the {meta}, you loop all the columns and assign the properties "decimals", "decimalPoint" and "thousandSeparator" for each. Lastly, return the new metaData.

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

None