Skip to main content

%DeepSee.UI.Dialog.PivotLevelOptions

Class %DeepSee.UI.Dialog.PivotLevelOptions Extends %DeepSee.UI.Dialog.standardDialog [ System = 4 ]

This dialog lets the user change the properties of a level within a DeepSee pivot table.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 0;

Properties

mode

Property mode As %ZEN.Datatype.string(ZENURL = "MODE") [ InitialExpression = "level" ];

Mode ("axis" -- options for entire axis, "level", or "measures").

memberType

Property memberType As %ZEN.Datatype.string [ InitialExpression = "mbr" ];

Type of member specified (determined from spec).

subjectArea

Property subjectArea As %ZEN.Datatype.string(ZENURL = "CUBE");

Subject Area.

pivotName

Property pivotName As %ZEN.Datatype.string(ZENURL = "PIVOTNAME");

Saved pivot (if present). Used to get local calculated members.

compIndex

Property compIndex As %ZEN.Datatype.integer(ZENURL = "INDEX");

Index of component that launched this dialog.

memberText

Property memberText As %ZEN.Datatype.string(ZENURL = "TEXT");

Text of current member.

memberSpec

Property memberSpec As %ZEN.Datatype.string(ZENURL = "SPEC");

Spec of current member.

headEnabled

Property headEnabled As %ZEN.Datatype.boolean(ZENURL = "HEAD");

If true, apply the HEAD function to this level.

headCount

Property headCount As %ZEN.Datatype.integer(ZENURL = "HEADCOUNT");

Count argument for HEAD function.

filterEnabled

Property filterEnabled As %ZEN.Datatype.boolean(ZENURL = "FILTER");

If true, apply the FILTER function to this level.

filterExpression

Property filterExpression As %ZEN.Datatype.string(ZENURL = "FILTEREXPR");

Filter expression for FILTER function.

orderEnabled

Property orderEnabled As %ZEN.Datatype.boolean(ZENURL = "ORDER");

If true, apply the ORDER function to this level.

orderExpression

Property orderExpression As %ZEN.Datatype.string(ZENURL = "ORDEREXPR");

Sort expression for ORDER function.

orderDirection

Property orderDirection As %ZEN.Datatype.string(ZENURL = "ORDERDIR");

Direction argument for ORDER function.

aggEnabled

Property aggEnabled As %ZEN.Datatype.boolean(ZENURL = "AGG");

If true, apply an aggregate function to this level.

aggFunction

Property aggFunction As %ZEN.Datatype.string(ZENURL = "AGGFUNC");

If enabled, aggregate function for this level.

aggFunctionParm

Property aggFunctionParm As %ZEN.Datatype.string(ZENURL = "AGGFUNCPARM");

If enabled, aggregate function parameter for this level.

levelCaption

Property levelCaption As %ZEN.Datatype.string(ZENURL = "LEVELCAPTION");

Optional caption to apply to this element.

levelFormat

Property levelFormat As %ZEN.Datatype.string(ZENURL = "LEVELFORMAT");

Optional format to apply to this element.

levelStyle

Property levelStyle As %ZEN.Datatype.string(ZENURL = "LEVELSTYLE");

Optional style to apply to this element.

levelHeaderStyle

Property levelHeaderStyle As %ZEN.Datatype.string(ZENURL = "LEVELHEADERSTYLE");

Optional style to apply to this element.

levelSummary

Property levelSummary As %ZEN.Datatype.string(ZENURL = "LEVELSUMMARY");

Optional summary aggregate for this element.

levelType

Property levelType As %ZEN.Datatype.string(ZENURL = "LEVELTYPE");

For row/column options, indicates the type of member defined.

levelValue

Property levelValue As %ZEN.Datatype.string(ZENURL = "VALUE");

Value of this option (for mdx and value types).

suppress8020

Property suppress8020 As %ZEN.Datatype.boolean(ZENURL = "SUPPRESS");

If true, apply the 80/20 suppression to this level.

drilldownSpec

Property drilldownSpec As %ZEN.Datatype.string(ZENURL = "DRILLDOWNSPEC");

Value of the drilldown spec option.

measureLocation

Property measureLocation As %ZEN.Datatype.string(ZENURL = "MEASURELOCATION");

Value for measureLocation.

hideMeasures

Property hideMeasures As %ZEN.Datatype.string(ZENURL = "HIDEMEASURES");

Value for hideMeasures.

isCalculated

Property isCalculated As %Integer [ InitialExpression = 0 ];

Create an isCalculated property with 0 as default:

XDatas

Style

XData Style

dialogBody

XData dialogBody [ XMLNamespace = "http://www.intersystems.com/zen" ]

Contents of the dialog body.

Methods

%OnGetTitle

Method %OnGetTitle() As %String

Get the (localized) title string for the dialog. This should be implemented in a subclass.

%OnGetSubtitle

Method %OnGetSubtitle() As %String

Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.

getDialogValue

ClientMethod getDialogValue() [ Language = javascript ]

getPivotObject

ClientMethod getPivotObject() [ Language = javascript ]

ondialogFinish

ClientMethod ondialogFinish(action) As %Boolean [ Language = javascript ]

This callback, if defined, is called when the user presses the OK or Apply action buttons. If this returns false, then the action is cancelled.

updateState

ClientMethod updateState(which, flag) [ Language = javascript ]

Update state of controls on this page.

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

This callback, if defined, is called when the dialog page is loaded.

disableDrilldown

ClientMethod disableDrilldown() [ Language = javascript ]

Disable/enable drilldown.

buildExpression

ClientMethod buildExpression() [ Language = javascript ]

Launch format dialog.

%OnAfterCreatePage

Method %OnAfterCreatePage() As %Status

editFormatString

ClientMethod editFormatString() [ Language = javascript ]

Launch format dialog.

onPopupAction

ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]

This client event is fired when the a popup page launched from this page fires an action.

changeType

ClientMethod changeType(clear) [ Language = javascript ]

This client event is fired when user selects a type radio button choice.

applyChange

ClientMethod applyChange(deltaId, target) [ Language = javascript ]

Change in style control.

updateStyleControls

ClientMethod updateStyleControls() [ Language = javascript ]

Make style controls match current style.

reset

ClientMethod reset(which) [ Language = javascript ]

Reset styles.