Hi all,
I have a WebColumnCombo (oBenRelationCol) which is being populated through a webservice.
I am able to select the values and everything is working as it should.
However when I click back on a row which had the value selected, the value in this WebColumnCombo is removed.
https://drive.google.com/file/d/1mXA...ew?usp=sharing
In the same WebList, which has no databinding, I have another WebColumnCombo which is being populated manually by the AddComboItem and is working properly.
Code:
Object oBenRelationCol is a cWebColumnCombo
Set psCaption to "Relation"
Set piWidth to 20
Procedure onFill
Forward Send OnFill
Integer iNum i
//
Get wsGetListofRelations of oWsInternal to mBenRelationList
//
Move (SizeOfArray(mBenRelationList)) to iNum
//
For i from 0 to (iNum-1)
Send AddComboItem mBenRelationList[i].sRelation mBenRelationList[i].sRelation
Loop
//
End_Procedure
End_Object
Object oBenGenderCol is a cWebColumnCombo
Set psCaption to "Gender"
Set piWidth to 20
Procedure onFill
Forward Send OnFill
//
Send AddComboItem "<Undefined>" "<Undefined>"
Send AddComboItem "M" "Male"
Send AddComboItem "F" "Female"
//
End_Procedure
End_Object

Thanks in advance.