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
750
Valuelist not displaying value instead of text
posted

Hello .. any help with this is appreciated.  I am using 8.2.  I added a valuelist to a column in the designer but it was displaying the value instead of the text, so I removed it and used the following code from a knowledge base article.  Still it is displaying the number instead of the letter until I click on it to edit.

Dim vList As New Infragistics.WebUI.UltraWebGrid.ValueList()
gridApps.Columns(4).ValueList = vList
vList.ValueListItems.Add(0, " ")
vList.ValueListItems.Add(1, "R")
vList.ValueListItems.Add(2, "T")
gridApps.DisplayLayout.Bands(0).Columns(4).ValueList = vList
gridApps.DisplayLayout.Bands(0).Columns(4).ValueList.DisplayStyle =
  Infragistics.WebUI.UltraWebGrid.
  ValueListDisplayStyle.DisplayText

 

 

Parents Reply Children
No Data