supera
Jan 27, 2012, 11:21 AM
Hi
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!
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!