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
4695
ultragrid column number format
posted

Dear all,

I have the VS2010 project with using infragistics controls.

In all the ultragrid, I want the below format apply to all. How can I do??

(1) if equal to zero, show zero "0"  even there are any zero after decimal.

(2) If there is decimal, it is n decimal places which can be configurable...

Parents
No Data
Reply
  • 140
    posted

    Hello,

     I have a windows application using Infragistics UltraWinGrid 7.1

    I have several numeric cells displayes. I am trying to apply the following formatting

    1. When data = 0, display the zero

    2. When data is null, display blank

    I have bben able to do one or the other using Column.Format = "#,###" or "#,##0"

    I also tried to check for the cell value and set format based on that in InitializeRow. That did not work either.

    Is there a formatting that can accomplish both 1 and 2 above?

    Thanks. 

Children