Jan 27, 2012, 10:21 AM
[CLOSED] Ext.util.Format.brMoney
Hi
In ext-lang-pt-BR.js, there are these javascript code lines:
decimalSeparator should be ','
thus, in my GridPanel cells, where I format 'Ext.util.Format.brMoney', the format is going wrong value...
This has a special reason to be so?
How can I change this? Should I change the source code of version 2.x and I have to recompile?
Thanks for any help!
In ext-lang-pt-BR.js, there are these javascript code lines:
if (Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: ',',
decimalSeparator: '.',
currencySign: 'R$', // Brazilian Real
dateFormat: 'd/m/Y'
});
Ext.util.Format.brMoney = Ext.util.Format.currency;
}
thousandSeparator should be '.'decimalSeparator should be ','
thus, in my GridPanel cells, where I format 'Ext.util.Format.brMoney', the format is going wrong value...
This has a special reason to be so?
How can I change this? Should I change the source code of version 2.x and I have to recompile?
Thanks for any help!
Last edited by Daniil; Jan 27, 2012 at 5:10 PM.
Reason: [CLOSED]