Jul 26, 2010, 3:31 PM
[CLOSED] number formatting
hi,
i trying to format the number in the textfield, but it produce the javascript error.. plz see the below code.. how to format the number in textfield?
i trying to format the number in the textfield, but it produce the javascript error.. plz see the below code.. how to format the number in textfield?
<ext:TextField ID="TextField1" runat="server" MaskRe="/[0-9\$\.]/">
<Listeners>
<Change Handler="el.setValue(Ext.util.Format.number(newValue, '0.00'));" />
</Listeners>
</ext:TextField>
Last edited by geoffrey.mcgill; Jul 28, 2010 at 9:03 PM.