HiI refer to another issue "Databound Grid adding $ character to random fields", where you wrote:"If you are using decimal or Currency, the grid will probably assume a currency format. Try setting the Format property on the column to something like "n" for number and that should remove the currency symbol."But I need to present weight values with up to 3 decimals, and need to use a decimal field.How do I "set up" the grid not assuming the decimal fild is a currency field, and not shox the $ char ?
brgdsJohn
HI,
Try changing the Default Editor types for decimal data.
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=xamData_Default_Editor_Types_for_Different_Data_Types.html
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=xamData_About_xamDataPresenter_and_xamEditors.html
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=xamEditors_Overview_of_the_ValueEditor_Class.html
You can change the default editor for a given type, for decimal its the xamcurrencyeditor you could change to the xamnumericeditor
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=InfragisticsWPF4.Editors.v10.2~Infragistics.Windows.Editors.ValueEditor~RegisterDefaultEditorForType.html
You can specify default mask for a data type using the xamMaskedEditor's RegisterDefaultMaskForType static method.
http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=InfragisticsWPF4.Editors.v10.2~Infragistics.Windows.Editors.XamMaskedEditor~RegisterDefaultMaskForType.html
Sincerely,
Matt
Developer Support Engineer
I am just following up on this forum post.
If you need further assistance regarding this post, please feel free to contact me.
Sincerely MattDeveloper Support Engineer