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
1050
cell content format
posted

Hello,

my database is storing the currency in 1234532.89 format(####.##) date in 04.16.2008 format(mm.dd.yyyy).

the same is showing in grid. is it possible to change the format in the grid for this field values?

I would also like to use custom controls in the grid. could you please direct me to some example.?

  • 138253
    Offline posted

    Hello kornelraju,

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

    If this is what you were looking for please verify the answer so it helps other users as well.

  • 138253
    Offline posted

    Hello kornelraju ,

    I apologize that this post was not answered sooner. We are making the effort to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well. What you probably could do in this situation is to set the Format Property of the xamCurrencyEditor and xamDateTimeEditor, which are used for presenting your currency and date cells. Here is a code snippet:

    <Style TargetType="{x:Type igEditors:XamCurrencyEditor}">
    	<Setter Property="Format" Value="#,###.##"></Setter>
    </Style>
    <Style TargetType="{x:Type igEditors:XamDateTimeEditor}">
    	<Setter Property="Format" Value="yyyy/mm/dd"></Setter>
    </Style>
    
    

    As for your second question I suggest you look at this forum thread

    http://blogs.infragistics.com/forums/p/42214/234500.aspx

    which discusses the same issue.