Hello everyone,
Today while implementing Data Grid on my current project I encountered a problem with the customization of the Decimal Places in the Calculated Columns. I installed the sample on my personal environment but even there and after trying to choose a static value or using the range slider, as it is shown, the Decimal Places never went past 2.
I have attached a print screen where you can see the two columns used in the calculation with 5 decimal places but the calculated column always rounds up to two.
As anyone faced this issue or is this a problem with the Data Grid itself?
Thanks for all the help in advance.
Hello @Mário Pedrosa
Thank you for reaching out. This is an identified issue that on a future release will be fixed under the code ROU-3891.
As a workaround you can run the following script in the Grid (not the page) on initialize event (in this case for 4 decimal places):
OutSystems.GridAPI.ColumnManager.GetColumnById('MyCalculatedColumn').provider.format = "n 4";
Cheers,GM
Hi @Mário Pedrosa. Any update on this?
I am still going to to implement your temporary fix but thank you in advance for the help!
Best regards,
Mário Pedrosa