You could use a TextInput component and an expression evaluator during the
validation. Here are some evaluators:

http://www.sephiroth.it/weblog/archives/2008/07/expressions_evaluation_at_almost_nati.php
http://www.flashandmath.com/intermediate/mathparser/mp1.html
http://ericlin2.tripod.com/math2/EvaluateEqMxt.html


Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Fri, Dec 5, 2008 at 3:36 PM, okegbenle mayowa <[email protected]>wrote:

>   Hi All
>     Am working on a project and the client needs to have the datagrid
> behave like an excel grid,such that if you input "3+4+1" it automatically
> displays "8".
>     Pls is there anone who has extended the TextInput component to behave
> in this manner, so i could use it as my DataGrid ItemEditor.
>     Any help will be very much appreciated
>
> Brain
>
>  
>

Reply via email to