Class: TdbContainer

TdbContainer(contopt, cellsopt)

new TdbContainer(contopt, cellsopt)

Parameters:
Name Type Attributes Default Description
cont String | null <optional>
null Container-Element oder null
cells Array.<{id: String, text: String}> <optional>
[] Array mit den Formularen
Source:

Members

active

Die ID der aktiven Zelle
Source:

length

Die Gesamtanzahl der Zellen
Source:

Methods

attach(id, content)

Hängt ein dhx.Objekt an eine Zelle an
Parameters:
Name Type Description
id String ID der Zelle
content dhx.Object Das dhx-Objekt, das angehängt werden soll
Source:

deleteCell(id)

Entfernt eine Zelle
Parameters:
Name Type Description
id String ID der Zelle
Source:

display(id, content)

Hängt ein dhx.Objekt an eine Zelle an und setzt diese Zelle als aktive Zelle
Parameters:
Name Type Description
id String ID der Zelle
content dhx.Object Das dhx-Objekt, das angehängt werden soll
Source:

newCell(cell)

Fügt eine neue Zelle zu der Sidebar hinzu
Parameters:
Name Type Description
cell object Container-Element oder null
Properties
Name Type Description
id String ID der neuen Zelle
text String Text für die neue Zelle
Source:

setActive(id)

Setzt eine Zelle als aktiv
Parameters:
Name Type Description
id String ID der Zelle
Source: