Format price column

Is it possible to format a price column?

I am using a tree grid and have used aGrid.setMathRound(2); however the price column now formats to .1

how can i fix this?

Actually when i enter 0.007 in the grid in the price cell it shows up at .1 once you focus somewhere else. As this is the root cause i was trying to fix will formatting the price column to two decimal places fix the problem?

thanks again


setMathRound command will affect only cells which result based on math, if you need to have formating for normal cell you can use edn|ron column type and use setNumberFormat command
Problem with incorrect math rounding in some cases confirmed and fixed, please contact us directly if you need an updated version of related extension.