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
2275
Formatting Field
posted

Here is the code I'm currently using:

<igDP:Field Name="DwellTime"
		 Label="Dwell Time (Hrs)"
		 Width="80">
 <igDP:Field.Settings>
 <igDP:FieldSettings>
 <igDP:FieldSettings.EditorStyle>
 <Style TargetType="{x:Type igEditors:XamTextEditor}">
 <Setter Property="Format"
						 Value="0.00" />
 <Setter Property="HorizontalContentAlignment"
						 Value="Right" />
 </Style>
 </igDP:FieldSettings.EditorStyle>
 </igDP:FieldSettings>
 </igDP:Field.Settings>
</igDP:Field>
What I want to get is if the value is .75, it will show up as 0.75 which works fine. The underlying value type is either an int or a double. The issue is that I need a blank row where 0 is blank. I'm not sure how to get there and any suggestion is welcomed.

Thank you,

Mike