Meta |
The MetaEnum type exposes the following members.
Name | Description | |
---|---|---|
Error | Last error message | |
FilterChars | If the list is dynamic, refreshed before execution and the SQL for prompted restriction contains the '{EnumFilter}' keyword, the number of characters typed by the used in the filter box before the enum is built and displayed | |
GUID |
The unique identifier
(Inherited from RootComponent) | |
HasDependencies | True if the list has dependencies to other list | |
HasDynamicDisplay | True if the list has dynamic display | |
HelperRefreshEnum | Editor Helper: Refresh values of this list using the SQL Statement | |
Information | Last information message when the enum list has been refreshed | |
IsDbRefresh | If True, the list is loaded before a report execution. Should be set to False if the SQL or the Load Script has poor performances. | |
IsDynamic | If True, the list is loaded using the 'SQL Select Statement' and/or the 'Script' defined. | |
IsSQL | True if the source is a standard SQL source | |
Message | If the list is dynamic, refreshed before execution and has filter characters or dependencies, the message displayed to the end user to trigger the list (e.g. 'Select a country first' or 'Type 5 characters'). | |
Name |
Name of the enumerated list
(Overrides RootComponentName) | |
NumberOfValues | The number of values in the collection | |
RequestServerOnPopup | True if the list need to request the server on popup | |
Script | If the list is dynamic, Razor Script executed to load or update the enumerated list values. The Script is executed after the optional SQL load when 'SQL Select Statement' is not empty. | |
ScriptDisplay | Optional Script used to build the values displayed in a prompted restriction. The Script is used only if the list is dynamic, refreshed before report execution. It can contain either the '{EnumFilter}' and/or '{EnumValues_<Name>}' keywords where <Name> is the name of another prompted enumerated list. | |
Source | Current MetaSource | |
Sql | If the list is dynamic, SQL Select statement with 1, 2, 3, 4 or 5 columns used to build the list of values. The first column is used for the identifier, the second optional column is the display value shown in the table result, the third optional column is the display value shown in the restriction list, the fourth optional column defines a custom CSS Style applied to the result cell, the fifth optional column defines a custom CSS Class applied to the result cell. | |
SqlDisplay | Optional SQL Select Statement used to build the values displayed in a prompted restriction. The SQL is used only if the list is dynamic, refreshed before report execution. | |
Translate | If True, the enumerated values are translated using the Repository translations | |
UsePosition | If True, the current position of the values in the list is used to sort the column in the report result | |
Values | The list of values used for this enumerated list | |
ValuesPerConnection | If True, the enum loads and stores the values for each connection. |