Difficulty accessing valid values from a matrix column
Hi everyone,
I am trying to add a column in a matrix , in which each field in that column has the same valid values
for egs :
oColumn = oMatrix.Columns.Add("Para", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
oColumn.TitleObject.Caption = "Parameter"
oColumn.Width = 100
oColumn.ValidValues.Add("1", "Temp")
oColumn.ValidValues.Add("2", "Weight")
oColumn.Editable = True
the issue here is that at runtime when i select an item from the list , i get the values instead of the description ,is there any way to display the description instead of the value?
Thanx in advance
Appreciate the time and effort
Former Member replied
Ganesh,
Try this,
oColumn.DisplayDesc =True
If this helps u give reward points,
Regards,
Anitha