Collapsible Reporting Element

Name: Collapsible Reporting Element

Author: Ian Kerman

Version: 1.0

Created: 5/2012

Requirements: Pipeline Pilot 8.5 or later; Reporting Collection

O/S: Any

Known Limitations: None. However, if you don't delete the or disable the component at the top after saving it to your XMLDB, the example won't work because the JavaScript won't be added to the report.

This component and example are based heavily on the work done by Pierre and "mkutz" in the post https://community.accelrys.com/message/7517. Taking their idea and concepts, I've put together a more generalized component that can be used to add a collapsing/expanding behavior to any reporting element (I think. I have only tested with Tables, Charts and Images). You are also able to customize the text shown by the expand/collapse button for each state.

Please let me know if you have any comments or suggestions for improvement.

Answers 4
HP
HP 2012-05-23

Nice!

HP
HP 2012-10-19

Hi Ian,

I really like this, but I'd like to control the initial behavior of the state of the object: in other words, for some I'd like to have it fully expanded by default with an option to collapse, for others, the reverse.

Jim

HP
HP 2012-10-23

Very nice, Ian! This works great!!

  (in a guy/beer drinking way, of course...)

Jim

IK
IK 2012-10-23

Hi Jim,

Here is an updated version of the Collapsible Reporting Element component that allows you to specify globally or on a record-by-record basis whether the elements should be collapsed or expanded. For the record-by-record behavior, you have to specify a property whose value is "Expanded" if you want the Element to be expanded. Any other value (or undefined) will cause the Element to be collapsed.

Ian

comment imagecomment image