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
75
Win Grid Column Format Problem
posted

Hello

In my application I am using UltraWinGrid. First I Load an XSD in a data set then an xml to validate and load data. Then assign this data set as data source of grid. I want to show numeric values as 1,234,567.8901 (comma seperated etc.). For this I used Format property of UltraGridColumn and set the value as #,###,###.#### and this works fine. Problem is with zero value. When there is zero value for a numeric column, grid shows a blank cell instead of zero. When format of the column is removed zero will appear in cell.  I expect that grid should show zero instead of blank cell when format is applied. Note that the data types are decimal, float etc. for numeric columns.

Can anyone help me?

Thanks in advance.

Parents
  • 375
    Verified Answer
    posted

    Hi,

     replace the last # by 0 and normally a 0 will by displayed. Take a look into the NetAdantage Help by searching for FormatStrings.

    Hope this will help.

Reply Children