Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
negative numbers not shown in xamdatagrid
posted

Hi,

I am assigning a datatable to xamdatagrid's datasource. the datatable contains decimal numbers (both positive and negative). unfortunately, the negative numbers are shown as blank. I guess I made some format on top of the data (for removing $ symbol before the numbers), and this could be the reason. Below is the code that prevents the $ symbol to be shown.

Infragistics.Windows.Editors.

 

ValueEditor.RegisterDefaultEditorForType(typeof(decimal), typeof(Infragistics.Windows.Editors.XamTextEditor), true

);

Can anyone help me how to show negative numbers by keeping this format?

 

Thanks in advance.

Ganesh.