Child pages
  • ValueList

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Divcache
styleindexdisplay:none
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)addEmptyValue
true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryProperty that tells if an empty value must be shown next to the items in the value list. Table Row (tr)

Table Cell (td)
String
Table Cell (td)customValues
A string with the elements in the valuelist. Table Row (tr)
Table Cell (td)
String
Table Cell (td)dataSource
This is the dataprovider selected in the fist list of dataproviders when a table or related valuelist is selected.This is the dataprovider selected in the last list of dataproviders when a table or related valuelist is selected.This is the dataprovider selected in the last list of dataproviders when a table or related valuelist is selected.Compact representation of the names of the server and table that
deprecated
are used for loading the data from the database. Table Row (tr)
Table Cell (td)
String
Table Cell (td)Gets the deprecate info for this element Table Row (tr)
Table Cell (td)
Number
Table Cell (td)encapsulation
The type of the display value if this is a global or custom valuelist, servoy needs to know this for formatting purposesThe encapsulation mode of this persist. Table Row (tr)
Table Cell (td)
String
Table Cell (td)name
Valuelist.If the valuelist only displays the "active" values that a user can choose, but you still need to be able to show also old values, then a fallback valuelist should be set.A property special for NGClient and GlobalValuelist to only query the global valuelist when it is needed.The name of the value list. Table Row (tr)
Table Cell (td)
String
Table Cell (td)relationName
.The type of the real value if this is a global or custom valuelist, servoy needs to know this so it can check if the types match on the record it is binded to.The name of the relation that is used for loading data from the database. Table Row (tr)
Table Cell (td)
String
Table Cell (td)separator
.Which of the dataprovers should be used as the return dataprovider, so set back into the records dataprovider.A String representing the separator that should be used when multiple
display dataproviders are set, when the value list has the type set to
database values. Table Row (tr)
Table Cell (td)
String
Table Cell (td)sortOptions
.Gets the showDataProvider.Sort options that are applied when the valuelist loads its data
from the database. Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)useTableFilter
Flag that tells if the name of the valuelist should be applied as a filter on the
valueListType
'valuelist_name' column when retrieving the data from the database. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)The type of the valuelist.

HTML Table

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)ididaddEmptyValue Table Row (tr)nametd

addEmptyValue

Table Row (tr)id

des Table Cell (td) DivclasssIndent
Property that tells if an empty value must be shown next to the items in the value list.
tr
idtdret

Returns

divsIndentclients

class

Supported Clients

sIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idcustomValues
Table Row (tr)
idname
Table Cell (td)

customValues

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
A string with the elements in the valuelist. The elements
can be separated by linefeeds (custom1
custom2), optional with realvalues SmartClient,WebClient,NGClient,MobileClientsam

Sample

sIdentjavascript
lastDetailRow
customValuesname

customValues

dessIndent
A string with the elements in the valuelist. The elements
can be separated by linefeeds (custom1
custom2), optional with realvalues ((custom1|1

Table Body (tbody)
iddataSource
Table Row (tr)
idname
Table Cell (td)

dataSource

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Compact representation of the names of the server and table that
are used for loading the data from the database.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iddeprecated
Table Row (tr)
idname
Table Cell (td)

deprecated

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Gets the deprecate info for this element
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String - the deprecate info for this element or null if it is not deprecated
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idencapsulation
Table Row (tr)
idname
Table Cell (td)

encapsulation

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

The encapsulation mode of this persist. The following can be used/checked:

- Public (not a separate option - if none of the below options are selected)
- Hide in scripting; Module Scope - not available in scripting from any other context except the form itself. Available in designer for the same module.
- Module Scope - available in both scripting and designer but only in the same module.
- Hide Dataproviders (checked by default)
- Hide Foundset (checked by default)
- Hide Controller (checked by default)
- Hide Elements (checked by default)

Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number - the encapsulation mode/level of the persist.
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idname
Table Row (tr)
idname
Table Cell (td)

name

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent

The name of the value list.

It is relevant when the "useTableFilter" property is set.

Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idrelationName
Table Row (tr)
idname
Table Cell (td)

relationName

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The name of the relation that is used for loading data from the database.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idseparator
Table Row (tr)
idname
Table Cell (td)

separator

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
A String representing the separator that should be used when multiple
display dataproviders are set, when the value list has the type set to
database values.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idsortOptions
Table Row (tr)
idname
Table Cell (td)

sortOptions

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Sort options that are applied when the valuelist loads its data
from the database.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
iduseTableFilter
Table Row (tr)
idname
Table Cell (td)

useTableFilter

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Flag that tells if the name of the valuelist should be applied as a filter on the
'valuelist_name' column when retrieving the data from the database.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Boolean
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idvalueListType
Table Row (tr)
idname
Table Cell (td)

valueListType

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
The type of the valuelist. Can be either custom values or database values.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
Number
Table Row (tr)
classlastDetailRow
Table Cell (td) 

custom2|2)).
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
String
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
dataProviderID1name

dataProviderID1

dessIndent
This is the dataprovider selected in the fist list of dataproviders when a table or related valuelist is selected.
This dataprovide can be marked as a display and/or return value
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
dataProviderID2name

dataProviderID2

dessIndent
This is the dataprovider selected in the last list of dataproviders when a table or related valuelist is selected.
This dataprovide can be marked as a display and/or return value
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
dataProviderID3name

dataProviderID3

dessIndent
This is the dataprovider selected in the last list of dataproviders when a table or related valuelist is selected.
This dataprovide can be marked as a display and/or return value
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
dataSourcename

dataSource

dessIndent
Compact representation of the names of the server and table that
are used for loading the data from the database.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
deprecatedname

deprecated

dessIndent
Gets the deprecate info for this element
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
displayValueTypename

displayValueType

dessIndent
The type of the display value if this is a global or custom valuelist, servoy needs to know this for formatting purposes
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
encapsulationname

encapsulation

dessIndent
The encapsulation mode of this Valuelist. The following can be used:

- Public (available in both scripting and designer from any module)
- Module Scope - available in both scripting and designer but only in the same module.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
fallbackValueListname

fallbackValueList

dessIndent
If the valuelist only displays the "active" values that a user can choose, but you still need to be able to show also old values, then a fallback valuelist should be set.
 So that there is a backup list for getting a display value for a real value that is not in the normal valuelist anymore.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
lazyLoadingname

lazyLoading

dessIndent
A property special for NGClient and GlobalValuelist to only query the global valuelist when it is needed.
This flag has to be set both on valuelist and in component spec, on the valuelist property.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
namename

name

dessIndent
The name of the value list.

It is relevant when the "useTableFilter" property is set.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
realValueTypename

realValueType

dessIndent
The type of the real value if this is a global or custom valuelist, servoy needs to know this so it can check if the types match on the record it is binded to.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
relationNamename

relationName

dessIndent
The name of the relation that is used for loading data from the database.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
returnDataProvidersname

returnDataProviders

dessIndent
Which of the dataprovers should be used as the return dataprovider, so set back into the records dataprovider.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
separatorname

separator

dessIndent
A String representing the separator that should be used when multiple
display dataproviders are set, when the value list has the type set to
database values.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
showDataProvidersname

showDataProviders

dessIndent
Gets the showDataProvider.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
sortOptionsname

sortOptions

dessIndent
Sort options that are applied when the valuelist loads its data
from the database.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
useTableFiltername

useTableFilter

dessIndent
Flag that tells if the name of the valuelist should be applied as a filter on the
'valuelist_name' column when retrieving the data from the database.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
valueListTypename

valueListType

dessIndent
The type of the valuelist. Can be either custom values or database values.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow