servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient sWordList MobileClient
servoy sSummary 12% 30% 58% height: 30px; 3 Constants Summary Constant to set the valueListType of a JSValueList. Constant to set the valueListType of a JSValueList.Constant to set /get the addEmptyValue property of a JSValueList. Constant to set/get the addEmptyValue property of a JSValueList.
servoy sSummary 12% 30% 58% height: 30px; 3 Property Summary Property that tells if an empty value must be shown next to the items in the value list. A string with the elements in the valuelist. Compact representation of the names of the server and table that are used for loading the data from the database. Gets or sets the fallback valuelist. A global method that provides the data for the valuelist. The name of the value list. The name of the relation that is used for loading data from the database. 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. The name of the database server that is used for loading the values when the value list has the type set to database values. void Sort options that are applied when the valuelist loads its data from the database. The name of the database table that is used for loading the values when the value list has the type set to database values. 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. The type of the valuelist.
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary Returns an array of the dataproviders that will be used to display the valuelist value. Returns an array of the dataproviders that will be used to define the valuelist value that is saved. Returns the UUID of the value list void Set the display dataproviders. void Set the display dataproviders. void Set the display dataproviders. void Set the display dataproviders. void Set the return dataproviders. void Set the return dataproviders. void Set the return dataproviders. void Set the return dataproviders.
name CUSTOM_VALUES des sIndent Constant to set the valueListType of a JSValueList. Sets the value list to use a custom list of values. Also used in solutionModel.newValueList(...) to create new valuelists ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow DATABASE_VALUES name DATABASE_VALUES des sIndent Constant to set the valueListType of a JSValueList. Sets the value list to use values loaded from a database. Also used in solutionModel.newValueList(...) to create new valuelists ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow constant servoy sDetail 2 100% height:30px 2 Constants Details CUSTOM_VALUES EMPTY_VALUE_ALWAYS name EMPTY_VALUE_ALWAYS des sIndent Constant to set/get the addEmptyValue property of a JSValueList. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow EMPTY_VALUE_NEVER name EMPTY_VALUE_NEVER des sIndent Constant to set/get the addEmptyValue property of a JSValueList. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow
property servoy sDetail 2 100% height:30px 2 Property Details addEmptyValue name addEmptyValue des sIndent Property that tells if an empty value must be shown next to the items in the value list. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow customValues name customValues des sIndent A string with the elements in the valuelist. The elements
can be separated by linefeeds (custom1
custom2), optional with realvalues ((custom1|1
custom2|2)). ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient ,MobileClient sam Sample
sIdent javascript lastDetailRow dataSource name dataSource des sIndent 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
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow fallbackValueList name fallbackValueList des sIndent Gets or sets the fallback valuelist. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow globalMethod name globalMethod des sIndent A global method that provides the data for the valuelist. The global method must provided the data
as a JSDataSet.
It is called when the valuelist needs data, it has 3 modes.
real and display params both null: return the whole list
only display is specified, called by a typeahead, return a filtered list
only real value is specified, called when the list doesnt contain the real value for the give record value, this will insert this value into the existing list.
In find mode the record with be the FindRecord which is just like a normal JSRecord (DataRecord) it has the same properties (column/dataproviders) but doesnt have its methods (like isEditing())
The last argument is rawDisplayValue which contains the same text as displayValue but without converting it to lowercase. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow name name name des sIndent The name of the value list.
It is relevant when the "useTableFilter" property is set. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient ,MobileClient sam Sample
sIdent javascript lastDetailRow relationName name relationName des sIndent The name of the relation that is used for loading data from the database. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow separator name separator des sIndent 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
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow serverName name serverName des sIndent The name of the database server that is used for loading the values when
the value list has the type set to database values. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setFallbackValueList name setFallbackValueList des sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow sortOptions name sortOptions des sIndent Sort options that are applied when the valuelist loads its data
from the database. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow tableName name tableName des sIndent The name of the database table that is used for loading the values when
the value list has the type set to database values. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow useTableFilter name useTableFilter des sIndent 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
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow valueListType name valueListType des sIndent The type of the valuelist. Can be either custom values or database values. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow
function servoy sDetail 2 100% height:30px 2 Methods Details getDisplayDataProviderIds name getDisplayDataProviderIds() des sIndent Returns an array of the dataproviders that will be used to display the valuelist value. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getReturnDataProviderIds name getReturnDataProviderIds() des sIndent Returns an array of the dataproviders that will be used to define the valuelist value that is saved. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getUUID name getUUID() des sIndent Returns the UUID of the value list ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setDisplayDataProviderIds name setDisplayDataProviderIds() des sIndent Set the display dataproviders. There can be at most 3 of them, combined with the return dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be displayed
by the valuelist. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setDisplayDataProviderIds name setDisplayDataProviderIds(dataprovider1) des sIndent Set the display dataproviders. There can be at most 3 of them, combined with the return dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be displayed
by the valuelist. prs Parameters
sIndent dataprovider1 The first display dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setDisplayDataProviderIds name setDisplayDataProviderIds(dataprovider1, dataprovider2) des sIndent Set the display dataproviders. There can be at most 3 of them, combined with the return dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be displayed
by the valuelist. prs Parameters
sIndent dataprovider1 The first display dataprovider. dataprovider2 The second display dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setDisplayDataProviderIds name setDisplayDataProviderIds(dataprovider1, dataprovider2, dataprovider3) des sIndent Set the display dataproviders. There can be at most 3 of them, combined with the return dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be displayed
by the valuelist. prs Parameters
sIndent dataprovider1 The first display dataprovider. dataprovider2 The second display dataprovider. dataprovider3 The third display dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setReturnDataProviderIds name setReturnDataProviderIds() des sIndent Set the return dataproviders. There can be at most 3 of them, combined with the display dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be returned
by the valuelist. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setReturnDataProviderIds name setReturnDataProviderIds(dataprovider1) des sIndent Set the return dataproviders. There can be at most 3 of them, combined with the display dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be returned
by the valuelist. prs Parameters
sIndent dataprovider1 The first return dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setReturnDataProviderIds name setReturnDataProviderIds(dataprovider1, dataprovider2) des sIndent Set the return dataproviders. There can be at most 3 of them, combined with the display dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be returned
by the valuelist. prs Parameters
sIndent dataprovider1 The first return dataprovider. dataprovider2 The second return dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow setReturnDataProviderIds name setReturnDataProviderIds(dataprovider1, dataprovider2, dataprovider3) des sIndent Set the return dataproviders. There can be at most 3 of them, combined with the display dataproviders.
The values taken from these dataproviders, in order, separated by the separator, will be returned
by the valuelist. prs Parameters
sIndent dataprovider1 The first return dataprovider. dataprovider2 The second return dataprovider. dataprovider3 The third return dataprovider. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow