returns a unique id
number | a unique id |
var id = gantt.uid();
The generated id is unique per page but not globally. So you can use the method in the on-page logic. It's not good enough for use as the DB id.
added in version 4.0
Back to top