Hey there,
I’ve a selection component (a combobox to be specific) and have added a SQLContainer as the ContainerDataSource.
I’ve set the ItemCaption via
.setItemCaptionPropertyId("myID")
. However, I need to use two properties as the caption.
Let’s say that the properties with the ID “myID” represent a string like “foo”. There’s also another property called “myCodeID” which represents a number like “23”. How am I able to let my ComboBox show its item’s caption as “23 foo”?
I’m searching for something like
.setItemCaptionPropertyIds("myId", "myCodeID")
I use a TableQuery, so a SQL solution or something doesn’t work.
Thanks and regards