cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Set default value for combobox thingworx

NBHD207
12-Amethyst

Set default value for combobox thingworx

Hi All,

I am using a combobox and a text to set the default value for the combo box. But I have not been able to do it successfully.
My model is as follows:

BingData.png
Can anybody give me advice on this problem?

 

Thanks and Best Regards

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

 

Make sure you selected correct ValueField property on this combobox.

 

/ Constantine

View solution in original post

3 REPLIES 3

Hi,

 

Could you please explain the implementation? I can see you are using a database.

 

Thanks,

Raluca Edu

PaiChung
22-Sapphire I
(To:NBHD207)

Ideally, the service resolving the default should have a single output of base type string.

 

If this here below doesn't make sense, then just stick to the top line I wrote.

Right now it looks like a table of information and you aren't binding a specific column to the selected text.

Since you are doing a single value, infotable return is not ideal because you won't have selected row available (unless that infotable is bound to another widget and you are selecting in that widget) so you'd only have all data to bind from which is always top row.

 

Hello,

 

Make sure you selected correct ValueField property on this combobox.

 

/ Constantine

Top Tags