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

NumericUpDown question

Using Version 2.1.0.9 I need to have a cell in a GridControl that allows editing values that can be positive or negative and have 2 decimal places. I thought that the NumericUpDown would accomodate this, but it doesn''t have a DecimalPlaces property similar to the NumericUpDownExt. So, how do you recommend that I accomplish this?

1 Reply

ST stanleyj Syncfusion Team December 20, 2005 06:55 AM UTC

Hi Sean, Could you please check the Currency CellType by taking away the currency symbol to see if that matches your need. Style.CellType = "Currency"; Style.CurrencyEdit.CurrencyDecimalDigits = 2; Style.CurrencyEdit.CurrencyNumberDigits = 2; Style.CurrencyEdit.CurrencySymbol = ""; Style.CurrencyEdit.NullString = "00.00"; There are also have many other properties under CurrencyEdit. Regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon