Single item in the enumeration list

interface iEnumItem {
    _hint?: string;
    _icon?: string;
    _tooltip?: string;
    _translation?: string;
    attributes?: iAttributes;
    default?: boolean;
    hidden?: boolean;
    icon?: string;
    label?: string | boolean;
    name: string;
    order?: string;
    short: string;
    shortcut?: string;
    style?: string | object;
    systemOnly?: boolean;
}

Hierarchy (view full)

Properties

_hint?: string
_icon?: string
_tooltip?: string
_translation?: string
attributes?: iAttributes
default?: boolean
hidden?: boolean
icon?: string
label?: string | boolean

Optinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object

name: string
order?: string

optional element order

short: string
shortcut?: string

Optional shortcut

style?: string | object

className (in case thet style is string) or list of styles using htmlelements.style JS attributes

Example

style='box--dataImportant'  box--dataImportant should be defined class in the css styles

Example

syle={"maxWidth":"20em"}    set up the maxWidth style attribute for the box

Example

styl={"border":"=obj.status=='AC'?'solid':'none' "}
systemOnly?: boolean