PDA

View Full Version : Formatting Numbers in Grids



paulharv
27 Apr 2012, 7:36 AM
How, in an EditorGrid, would I format numbers?
For example if the underlying value is 1000000, I want to display it in the grid as 1,000,000.00.00
I was expecting a "format" config on NumberField or something.

Thanks for any pointers.

Paul

paulharv
27 Apr 2012, 8:12 AM
Found it - I need to use a renderer on column definitions and specifiy one of the methods of Ext.util.Format