Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
510
Setting grid cell value to maxvalue
posted

Hi,

I have a data in the cell  with

minValue=0

maxValue=1

Formatstrinf ="0.00"

Maskinput="n.nn"

While editing the cell , it is allwoing the value greater than 1(i.e maxvalue) like , if I entter a value 1.234

cell is taking the value even it is greater than 1

How to restrict the cell value not to accept more than max value

 

 

Parents
No Data
Reply Children
  • 510
    posted in reply to [Infragistics] Boris Toromanov

    Hi Boris,

    minValue=0

    maxValue=1

    Formatstrinf ="0.00"

    Maskinput="n.nn"

    my cell datatype is Decimal.

    but when I type in the cell it allows the value greater than maxvalue (1.22).

    When I have 1in the firat place , cell should not allow us to enter 1.23, or whar ever the value after 1 because cell maximin value is 1.

    and also when I edit the cell i am getitng underscore also(in the same example you sent me)(1._0).

    Please I need to remove the underscore and restrict the user entering more than maxvalue