PDA

View Full Version : Deceimal Value with US money formater not working



arunmatics
21 Mar 2014, 5:42 AM
Hi Folks,

I try to show the value with decimal point and US money format in numberfield. I want this in text field also.



{
xtype: 'textfield',
id: 'bsmrc',
width: 50,
value: 24.00,
forcePrecision: true ,
decimalPrecision: 3,
allowDecimals: true,
readOnly: true,
renderer: Ext.util.Format.usMoney
}

output for above coding is

I want like this

scottmartin
21 Mar 2014, 5:48 AM
Have a look at the following UX
http://www.sencha.com/forum/showthread.php?147962