belo Posted March 7, 2013 Posted March 7, 2013 Hi! Can anyone help me with an example to implement Mask currency ExtJS 4 (FieldMoney) the link below: code: http://www.aureliosaraiva.com/2012/04/mascara-de-moeda-extjs-4/ example: http://exemplos.aureliosaraiva.com/fieldmoney/exemplo.html Thanks to all who help. Quote
Jancarlos Martins Posted March 7, 2013 Posted March 7, 2013 Hi Eduardo, click here http://forums.unigui.com/index.php?/topic/1741-formatted-input-for-uniedit/ Quote
belo Posted March 7, 2013 Author Posted March 7, 2013 Hi Eduardo, click here http://forums.unigui.com/index.php?/topic/1741-formatted-input-for-uniedit/ Thanks for the tip, but it is not compatible with the latest versions. Quote
patmap Posted March 8, 2013 Posted March 8, 2013 Hi, See this sample For this sample I use this Moneytext JS source code, if you see any bug say this source owner: http://code.google.com/p/extjs-field-money/ XMoneyEdit.zip Regards Quote
belo Posted March 8, 2013 Author Posted March 8, 2013 Hi, See this sample For this sample I use this Moneytext JS source code, if you see any bug say this source owner: http://code.google.com/p/extjs-field-money/ XMoneyEdit.zip Regards Great Patmap! Thank you so much for your help. Quote
belo Posted March 9, 2013 Author Posted March 9, 2013 Hi, See this sample For this sample I use this Moneytext JS source code, if you see any bug say this source owner: http://code.google.com/p/extjs-field-money/ XMoneyEdit.zip Regards Patmap, By using FieldMoney.js it is disabling calls the OnExit other UniDBEdit. When the retreat of CustomFiles ServerModule back to normal. What can it be? Quote
patmap Posted March 10, 2013 Posted March 10, 2013 Hi, Yes you right, I fixed it in FieldMoney.js source. XMoneyEdit.zip Regards Quote
belo Posted March 10, 2013 Author Posted March 10, 2013 Hi, Yes you right, I fixed it in FieldMoney.js source. XMoneyEdit.zip Regards Hi, It did not work. Continues with the same problem. What have you changed? Quote
patmap Posted March 11, 2013 Posted March 11, 2013 Hi, It did not work. Continues with the same problem. What have you changed? Hi, Changes in MoneyField.js initEvents : function() { if(this.isMoney == true) { var input = this.inputEl; input.on('keypress', this._onKeypress, this); input.on('keydown', this._onKeydown, this); input.on('blur', this._onBlur, this); input.on('focus', this._onFocus, this); } this.callParent(); }, Wrong uploded, Try this: XMoneyEdit2.zip 1 Quote
belo Posted March 11, 2013 Author Posted March 11, 2013 Hi, Changes in MoneyField.js initEvents : function() { if(this.isMoney == true) { var input = this.inputEl; input.on('keypress', this._onKeypress, this); input.on('keydown', this._onKeydown, this); input.on('blur', this._onBlur, this); input.on('focus', this._onFocus, this); } this.callParent(); }, Wrong uploded, Try this: XMoneyEdit2.zip Yes, now it worked. Patmap you're amazing. Thank you so much for your help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.