Separator in value list with Custom Values

It is possible to add a separator when using the database to gather values for a Value List; I can’t find a way of adding a separator to a list of Custom Values. Would someone be able to point me in the right direction?

Thanks,

Hi Roddy,

Not sure what you are asking. You want to show more than one column value as the display value?
Or are you asking how to have a display and real value in a valuelist?

In Servoy 5, you could add a separator line to a list of grouped values in a valuelist. For example:

Value A
Value B
-----
Value 1
Value 2
Value 3

The separator cannot be selected but allows the user to see the grouping of values more easily.

Are you sure this was in a valuelist? I’ve never heard of that.

What you are describing sounds more like separators in a popmenu.

When you use 1 hyphen you do get a separator in the combobox menu.
So your value list should look like this

Value A
Value B
-
Value 1
Value 2
Value 3

Hope this helps.