new CustomViewOptions()
The CustomViewOptions object defines the control's default custom-view options, hold by customView option of the Pivot.Options
For instance, the "object" option:
customView: { object: new exontrol.Graph("cvsPivot", {autoFit: false}) }adds graphical functionality to control, where "cvsPivot" is the identifier of the canvas element that hosts the pivot control
- Since:
- 4.4
Members
(static) object :object
The object field defines the object responsible for displaying the control's custom view, such as exontrol.Graph. The pivot's custom view is visible only if the 'visible' option is set to true and the 'object' property is configured.
Type:
- object
Example
null {null} or undefined {undefined}, indicates no object is associated with the custom view (default)
new exontrol.Graph("cvsPivot") {exontrol.Graph}, specifies that the control's data is displayed using the exontrol.Graph component
object
(static) visible :Pivot.CustomViewVisibleEnum
The visible field shows ot hides the control's custom-view. The pivot's custom view is visible only if the 'visible' option is set to true and the 'object' property is configured.
Type:
Example
false {boolean} or exontrol.Pivot.CustomViewVisibleEnum.exHidden {CustomViewVisibleEnum}, hides the control's custom view
null {null} or true {boolean} or exontrol.Pivot.CustomViewVisibleEnum.exVisible {CustomViewVisibleEnum}, shows the control's custom view (default)
"hsplit" {string} or exontrol.Pivot.CustomViewVisibleEnum.exVSplit {exontrol.Pivot.CustomViewVisibleEnum}, both the control's custom view and default view are visible, separated by a horizontal splitter
visible