Ext JS 1.x - Unsupported /
Ext 1.x: User Extensions and Plugins /
[Ver 1.1] Ext.ux.Calculator
Version 1.1 of Ext.ux.Calculator now available @
Only two new features:-
1. Added 'CE' (clear last entry) button
2. Added visual feedback when keyboard/numpad is used
Sencha - Community Support Team
Nice to see it's getting better and better. Could you please post any future plans with this calc?
As I'm busy with a large project at the moment I will not be adding to this component for at least a couple of months. The calculator as it is supports our requirement perfectly.
I imagine version 2.0 of the calculator will support a 'scientific' mode and memory add/recall etc.
In the meantime, I'm happy for others to contribute to its development and will act quickly on any completed working submissions.
I had planned on writing my own calculator, but yours is already shaping up pretty well. I hope you don't mind, I played around with it and have added several new features:
Added Memory buttons/functions (store, add, recall, clear)
Added Backspace button/function
Added some Quicktips (can be enabled/disabled)
Several CSS changes/additions
I am also planning on adding a scientific mode and was going to wait until I finished that before I posted, but I thought some might find this one useful for now. I still plan to add a scientific mode to it as time permits.
The source and a screenshot are attached below (sorry, I don't have a public server to host a demo).
In case anyone was wondering, the empty space in the upper-left corner is an indicator to specify if something is stored in the memory (which has a quicktip that gives you it's value).
oops, sorry about that. I attached a fixed version.
(also includes a couple other small fixes)
Thanks Nullity. Works fine now. I have updated the user extensions page and the calculator demo page.
Also found a little bug which I've fixed in 1.3.
"Fixed bug when pressing backspace after loading initial number via setValue (eg. setting intial value via trigger field) [Toby Stuart]"