3.2.3 Visibility Property
You can dynamically hide or show an element using script. Typically, you would test a condition or user input at runtime, and then hide one or more elements to present an appropriate view.
if(field['discount'] == 0) {
Text8.visible = false;
}
As for all element properties, you should change the visibility of an element only from within a script attached to the same element, or from within the onLoad Handler. Otherwise, the location of the element in the report may influence the outcome.
See Also
Script Debugging, for information on making scripts self-contained.
Script Evaluation, for information about order of evaluation and its effects.
| << 3.2.2 Font Property | © 1996-2013 InetSoft Technology Corporation (v11.5) | 3.2.4 Alignment Property >> |