Hi,
Would someone please be kind enough to explain how to bind a combo box to the xamDatagrid column?
Hello,
You can change this behavior, by registering a different default editor for this type (in this case Decimal) with the static method of the ValueEditor:
RegisterDefaultEditorForType .
So you can register a XamNumericEditor for the Decimal data type.
You can also use the other static method to register different mask to that editor - without the currency symbol.
Hope this helps/
I dont agree with the choice infragistics has made here to make every Decimal in a grid show a XamCurrencyEditor by default, its a bit presumptuous. For example, we store alot of statistics information in Decimal in SqlServer. By default, all results are shown in money format.
That being said, is there some map of these choices in the grid. I assume theres some logic somewhere indicating that a Decimal should use the XamCurrencyEditor. Is this exposed to the user so I can modify this mapping? (note these are adhoc queries so I dont know the structure of the results)
Change the datatype of the Entity Colum from Decimal to Double. This will resolve your issue.
Hi
I am using the numeric editor in several places and they don't display the dollar sign. However, it does show in the grid even when the editor type of the field is set to numeric editor. Even with 'AllowEdit' as false, it allows tab movement to and edit of that cell, see previous post. Thanks for your time.
Hi -
The XamNumericEditor should not show the dollar sign - I don't know why you are seeing this. When I place a XamNumericEditor on a form and set its Value to a decimal, no dollar sign is displayed. Can you verify the same?
Joe