Skip to main content

%DeepSee.UI.Dialog.CellFormatOptions

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

This dialog lets the user specificy conditional formatting for a pivot table.

Parameters

APPLYBUTTON

Parameter APPLYBUTTON = 1;

Properties

colorScale

Property colorScale As %ZEN.Datatype.string(ZENURL = "COLORSCALE");

Name of color scale in effect.

defRange

Property defRange As %ZEN.Datatype.string;

Default Range for new rules.

formatRules

Property formatRules As list Of %DeepSee.Component.pivotCondition(XMLNAME = "formatRule", XMLPROJECTION = "ELEMENT");

List of formatting rules for the table.

XDatas

Style

XData Style

dialogBody

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

Contents of the dialog body.

Methods

DrawColorScale

Method DrawColorScale(pSeed As %String) As %Status

Draw contents of color scale icon box.

%OnPreHTTP

ClassMethod %OnPreHTTP() As %Boolean [ Internal, ServerOnly = 1 ]

Zen page notification of an HTTP request.

%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 ]

ondialogStart

ClientMethod ondialogStart() [ Language = javascript ]

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

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.

selectColorScale

ClientMethod selectColorScale(type) [ Language = javascript ]

Click on a new color scale.

clearRules

ClientMethod clearRules() [ Language = javascript ]

Clear the rules

DrawRuleList

Method DrawRuleList(pSeed As %String) As %Status

Draw contents of rule list box.

addRule

ClientMethod addRule() [ Language = javascript ]

Add a rule definition.

editRule

ClientMethod editRule(n) [ Language = javascript ]

Edit a rule definition.

removeRule

ClientMethod removeRule(n) [ Language = javascript ]

Remove a rule definition.

moveRuleUp

ClientMethod moveRuleUp(n) [ Language = javascript ]

Move a rule definition up.

moveRuleDown

ClientMethod moveRuleDown(n) [ Language = javascript ]

Move a rule definition up.

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.

ccChange

ClientMethod ccChange(apply) [ Language = javascript ]

Change to custom color