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.
Unfortunately, activation email could not send to your email. Please try again.

Editable currency cell

Thread ID:

Created:

Updated:

Platform:

Replies:

9952 Jan 18,2004 05:14 PM Jan 18,2004 06:28 PM Windows Forms 1
loading
Tags: GridControl
Colin Lamarre
Asked On January 18, 2004 05:14 PM

Hello, I''m surprised it''s so difficult to simply have an editable currency cell. Do i have to make a renderer or something. just thought i could use celltype = "Currency" and Format = "C" and voila but here i am hours later still stumped. i changed the field type in the table to string and cellvaluetype to string, also strictvaluetype to false and still the expected decimal value exception. isn''t there an easy way, if not there should be! it''s a very typical request. You must have something that will do it, i know i''m not the first. can you send me the renderer or whatever it is i need. i want the table''s field type to be numeric though, not string. Thanks!

Colin Lamarre
Replied On January 18, 2004 06:28 PM

omg i finally found it!!! it all lies in a little command called: gbcc["Price"].StyleInfo.CurrencyEdit.ClipMode = Syncfusion.Windows.Forms.Tools.CurrencyClipModes.ExcludeFormatting; very sneaky!

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.

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.

;