Attribute Details: Condition
 Back


An expression that evaluates to a value of True or False. Expressions should be in JavaScript (recommended) or VBScript syntax.

For .NET versions, the scripting language can be set in the _settings.lgx General element. For Java versions, the scripting language is always JavaScript.

Typically, you would compare values using a token, such as "@Data.value~ < 0" or "@Session.ShowCol1~=='true'". Elements are removed when the Condition evaluates to False.

Use quotes when working with strings:
"@Data.myColumn~" == "SomeValue"

If your data token may have a double quote inside of it, you should use single quotes:
'@Data.myColumn~' == 'SomeValue'

String valued data tokens with single and double quotes inside are not supported by the condition attribute.



POTENTIAL VALUES

UserDefined




PARENT ELEMENTS

Click element to drill down for more information.

Column Cell
Condition Filter
Conditional Class
Crosstab Table Label Column
Data Table Column
Division
HTML Tag
Include Shared Element
Local Data
Menu Branch
Menu Leaf
More Info Row
More Info Row Column
Popup Option
Quicktip Row
Row
Security Filter
Set Session Variables
Startup Process
SubReport
Tooltip Panel
Visualization Editing


 Back to top


 Chart Debug