I have a combo box populated with the records from a static entity, and a value in the special list value withValue 1: 0Option 1 : All
I want the 'All' option to be selected (as default) everytime I open or refresh the page, but so far, I wasn't able to do it. Any advice?Thanks a lot ;)
Hi Allan,
You bind the combo box with any variable , then assign value 0 to the variable on preparation .
Cheer,
Rocky
Or You can define the default value of that variable to Zero.
Rocky wrote:
Hi again rocky haha, it automatically select the last one and there is no default value property in combobox
Hi allan,
Check your Variable which is bind with combo box it have default value :
Oml Attached.
Hey, I'm facing a similar issue. So if you could help me out would be cool. In this case the JobDropID variable is type integer ? How will it hold the ID values of the jobs if it is an integer? Usually when you set the variable to the combobox, and this combobox as an aggregate, you need the varialbe to be the Identifier Type, and in this cases, you cant set the default value to 0, cause there are no ID = 0.
Frederico Milheiro wrote:
Hey,I'm facing a similar issue. So if you could help me out would be cool. In this case the JobDropID variable is type integer ? How will it hold the ID values of the jobs if it is an integer? Usually when you set the variable to the combobox, and this combobox as an aggregate, you need the varialbe to be the Identifier Type, and in this cases, you cant set the default value to 0, cause there are no ID = 0.
Hey,
For to store Identifier into Integer you can take help from inbuilt functions like
IdentifierToInteger()
Ohh I get it now, thanks thanks