We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ggc MaskEdit mask and negative values

Hi,

I'm using the following mask to display time with frames: ##:##:##:##. (which represents: "HH:mm:ss:FF")

MaxValue is set to "99999999" and MinValue to "-99999999", but negative values are still displayed unsigned.

Is it possible to display (and get/set) SIGNED negative values, via "Mask" property (using deditaced characters) or another property ?


Thanks in advance.

1 Reply

SA Saravanan A Syncfusion Team May 30, 2007 09:30 PM UTC

Hi Ryan,

There is no property to acheive this. But you can do it by applying different mask while in editting mode and also you need to handle the MaskCustomValidate event of the MaskEditControl of the cell. And to display the negative sign in the normal mode, you can use the DrawCellDisplayText event.

Please refer to this sample.
http://websamples.syncfusion.com/samples/Grid.Windows/F61629/main.htm

Best Regards,
Saravanan

Loader.
Live Chat Icon For mobile
Up arrow icon