Zum Hauptinhalt springen

uid

Description​

Gibt eine eindeutige ID zurück

uid: () => number

Returns​

  • id - (number) - eine eindeutige ID

Example​

var id = gantt.uid();

Details​

Die erzeugte ID ist pro Seite eindeutig, aber nicht global eindeutig. Sie können die Methode in der Seitenlogik verwenden. Sie ist nicht ausreichend als Datenbank-ID geeignet.

Change log​

  • in Version 4.0 hinzugefügt
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.