any object that has name. Ttranslation could contain the locally generated translation of the name. Name of the attibute preceed by _ is excluded from sending to the server and is managed locally. However, translation of objects that are send to the server, should be translated after their return from server.

interface namedObject {
    _hint?: string;
    _tooltip?: string;
    _translation?: string;
    icon?: string;
    label?: string | boolean;
    name: string;
    order?: string;
    shortcut?: string;
    style?: string | object;
}

Hierarchy (view full)

Properties

_hint?: string
_tooltip?: string
_translation?: string
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

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' "}