dundas.controls.ViewContainer Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.ViewContainer
 

Constructors

 
  Name Description
init Initializes the control. Called during construction.
 
 

Properties

 
  Name Description
isContentReadOnly Gets or sets a value indicating whether the contents of this view container should be read-only (blocked off from interactivity). This is used when events on this view container which to be used.
viewId Gets or sets the viewId of the dashboard contained.
viewOverrides Gets or sets the view overrides to be applied to the view when it loads.
viewType Gets or sets the type of view contained.
 
 

Methods

 
  Name Description
constructViewUrl Constructs the view URL for this View.
dispose Disposes the component.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getViewContext Returns the context for the inner View, if it is there.
getWindow Returns the context for the inner Window, if it is there.
refresh If the view ID and view type are set, calling this will cause the iframe to reload with the given properties. Since this is a full page load, it should be called with caution. This must be called at least once after setting all the properties. To track when this refresh is finished, the viewReady event can be used.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.