I have a grid that loads dynamic report results from an Oracle database. Every number is being formatted as currency. How can I disable currency formatting for the entire grid while maintaining autogeneration of fields?
Jesse
Hello Jesse,
Thank you for your post!
I have been looking into it and have created a small sample application for you. In the sample application I have a simple XamDataGrid. When you generate the Field of the grid, the different fields have different editors. For example of you have a string property for the Field the editor for this Field would be XamTextEditor, if the property is of type int, double, decimal - the editor would be XamNumericEditor.
This is why in the Resources of the XamDataGrid I am creating a style for the XamNumericEditor and set the Mask property for this editor. More about the Masks of the editors you can find on the following link of our documentation: http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamInputs_Masks.html.
Please find the attached sample application and feel free to let me know if you have any further questions on this matter.
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.