Ab.timeline.Model object
Ab.timeline.Model object
File:
ab-timeline-model.js
The Timeline control has two major parts: the Model and the Controller. The model object contains data that the timeline displays, such as available resources (displayed as timeline rows) and events that uses these resources (displayed as graphical blocks on the timeline). The model object also exposes functions that allow the application code to query the set of data objects displayed on the timeline, or to change them programmatically.
The timeline model object is typically created using the data retrieved from the database using a workflow rule. However, you can also create the complete timeline model in your code.