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
120
Show "n.a." based on Cell-Value
posted

How can I show a special text if value is 0 in a cell, which is formated as show in the following code?

UltraGridColumn

ugc = UltraGrid.DisplayLayout.Bands[0].Columns[

 

"Anteil"];

ugc.MaskDataMode = MaskMode.IncludeLiterals;

 

 

ugc.MaskDisplayMode =

 

MaskMode.IncludeLiterals;

ugc.MinValue = 0;

ugc.MaxValue = 100;

 

 

 

ugc.MaskInput =

 

 

"nnn.nn\\%";

ugc.PromptChar = '_';

ugc.CellDisplayStyle =

 

CellDisplayStyle.FormattedText;

 

Parents Reply Children
No Data