Page 1 of 1
Separator in value list with Custom Values
Posted:
Wed Dec 08, 2021 6:41 am
by roddy
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,
Re: Separator in value list with Custom Values
Posted:
Thu Dec 09, 2021 2:21 pm
by ROCLASI
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?
Re: Separator in value list with Custom Values
Posted:
Wed Dec 15, 2021 2:40 am
by roddy
In Servoy 5, you could add a separator line to a list of grouped values in a valuelist. For example:
- Code: Select all
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.
Re: Separator in value list with Custom Values
Posted:
Fri Dec 24, 2021 5:22 pm
by Joas
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.
Re: Separator in value list with Custom Values
Posted:
Fri Dec 24, 2021 5:35 pm
by ROCLASI
When you use 1 hyphen you do get a separator in the combobox menu.
So your value list should look like this
- Code: Select all
Value A
Value B
-
Value 1
Value 2
Value 3
Hope this helps.