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
855
NA 11.2: UltraWinGrid - Column NullText
posted

I have a SQL 2005 table. One of the columns contains decimal values, sometimes the value would be null. The grid displays these decimal nulls as "0". I want the grid to display an empty cell and not "0".

I've tried the InitializeColumn and InitializeRow without success with the following code:

if (column.Key == "MyDecimalColumn")

{ column.Nullable = Nullable.Null;

column.NullText = "";}

Please assist. Thank you