belo Posted March 7, 2013 Share 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 Link to comment Share on other sites More sharing options...
Jancarlos Martins Posted March 7, 2013 Share Posted March 7, 2013 Hi Eduardo, click here http://forums.unigui.com/index.php?/topic/1741-formatted-input-for-uniedit/ Quote Link to comment Share on other sites More sharing options...
belo Posted March 7, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
patmap Posted March 8, 2013 Share 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 Link to comment Share on other sites More sharing options...
belo Posted March 8, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
belo Posted March 9, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
patmap Posted March 10, 2013 Share Posted March 10, 2013 Hi, Yes you right, I fixed it in FieldMoney.js source. XMoneyEdit.zip Regards Quote Link to comment Share on other sites More sharing options...
belo Posted March 10, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
patmap Posted March 11, 2013 Share 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 Link to comment Share on other sites More sharing options...
belo Posted March 11, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
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.