Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Ideas] OutSystems Data Grid Decimal Places for number Modification

$
0
0

For the OutSystems Data Grid widget, where a 'Number Column' is used, there is the 'NumberOptionalConfigs' input to set the number of Decimal places. This is great except the number if of decimal places you give are hardcoded in terms of the fact that it will show the exact number if decimals you specify regardless of how many decimals the number you supply during runtime actually has. This is problematic as in the UI it is not nice to have some numbers who use for example 6 decimals and actually have 6 decimsls (which is good) but then some number which only have 2 decimals and then displays 4 decimals filled with 0s which does not look good.

So the Idea I am proposing is to be able to set a MAX decimals input such that it will only show decimals that actually exist but UP TO AND INCLUDING thet max number... so in other words it doesn't force all number to have that number of Decimals, it is just the max that it will show for them.

As an example, if I have 2 numbers (1.678678 and 1.25) then I would would set the number of Decimals to 6 and then my number would be displayed as (1.678678 and 1.25)  instead of (1.678678 and 1.250000) which looks a bit strange.

Thanks for your consideration.


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>