Definition of a single page withing the list of pages - item describes the json model

interface iViewTab {
    _hint?: string;
    _right?: boolean;
    _tooltip?: string;
    _translation?: string;
    box?: string | iViewBox;
    boxes: string[];
    dataLabel?: string;
    icon?: string;
    label?: string | boolean;
    name: string;
    order?: string;
    right?: string;
    shortcut?: string;
    style?: string | object;
    uright?: string;
    view?: string;
    visible?: string;
}

Hierarchy (view full)

Properties

_hint?: string
_right?: boolean
_tooltip?: string
_translation?: string
box?: string | iViewBox

name of single box in the tab or directly the box

boxes: string[]

List of box numbers that are placed to the tab Note: If there is only a single box in tab. shorter desription box:X is supported. BUT boxes:0 is bad and fails with error

dataLabel?: string

optional definition of the icon after the name Tab content created upon loaded data. Typically icon with information that content is full or empty, number of files ets.

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

right?: string

Right to see the content - evaluated only for existing objects not for new! When both visible and right is defined, visible is evaluated at first and then also right and both should return true

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' "}
uright?: string
view?: string

optional name of single view that is over the page (the whole page is single view)

visible?: string

Condition, when visible and when not; evaluated both for new object and existing objects