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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ggc MaskEdit mask and negative values

Thread ID:

Created:

Updated:

Platform:

Replies:

61629 May 30,2007 10:15 AM UTC May 30,2007 09:30 PM UTC WinForms 1
loading
Tags: GridControl
Ryan Hardoon
Asked On May 30, 2007 10:15 AM UTC

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.

Saravanan A [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;