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
270
UltraGrid Cell-Level Formatting Issue of Numbers
posted

I am using Infragistic NetAdvantage 7.1 UltraGrid in WinForm.

Basically, i have a grid column of numeric values and i set the column format to show 3 decimal places.
ultraGrid1.DisplayLayout.Bands[0].Columns["Number'].Format = "#,##0.000"

1.111
2.222
3.333

However, i run into scenarios where i need to show 2 decimal places only on the 2nd row (i.e 2.22),
but the 1st / 3rd rows should still show 3 decimal places.  See below:

1.111
2.22
3.333

I look at the UltraGridCell object, and there is no "Format" property at the cell level that overrides the
one on Column level. 

I am not sure how to achieve this one.
Could someone please advise?  Thanx a lot.

Parents Reply Children
No Data