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
40
Set the format in UltraGrid in a bound coloum
posted

hey,

 i search the value / the parameter with which i can set the format to xxxx,xx like a money-value in the databound coloum with a double-value in the card view.

 The screenshot is attached.

In first, left top, it show´s the right format, but in the application it only show´s e.g. "55,5" or "2343,9" but i want to see "55,50" and "2343,90".

Parents
  • 250
    posted

     Try something like:

     UltraGridBand band = Grid.DisplayLayout.Bands[0];

     band.Columns["ColumnName"].Format = "0:00.00"

    Not sure what the format string should be...

    http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx

    might be useful

     

Reply Children
No Data