returns a view object by its name. If no name is specified, returns the current view
name | string | optional, the name of the view |
object | a view object |
var timeline = scheduler.getView();
timeline.x_size = 8;
scheduler.setCurrentView();
Returns only views that have their own object representation. Currently, these are timeline and units views, so the method will return null for any other view.