Accordion

<< Click to Display Table of Contents >>

Navigation:  Widgets >

Accordion

Overview

The Accordion Widget for Bizagi is available for download at Bizagi Widget Xchange.

Through this Widget, you will be able to display a series of records (those having a title and further description) one below another, while enabling an accordion control to expand/collapse each record's detail.

 

Accordion_teaser

 

Before you start

In order to test and use this Widget, you will need:

1.Bizagi Studio previously installed.

2.This specific Widget previously installed, either as described at https://help.bizagi.com/platform/en/index.html?widget_xchange.htm, or as described at https://help.bizagi.com/platform/en/index.html?widgets_manualinst.htm.

 

Data model considerations

In order to use this Widget, you need in your data model a Collection type attribute which holds the multiple records to display.

Such collection should include two string type attributes, one holding a brief description (e.g, title, subject, summary) and another for the detailed paragraph (e.g, comments, observations, description, detail).

 

The sample image below shows the use of a TicketHistory collection, while relying on the Escalated to, and Comments attributes.

 

Accordion_model

Properties configuration

In order to configure this Widget once it is installed in your project, include it in any form and set it properties in the Forms designer, just as you would do with any other type of Bizagi control.

 

Accordion_forms

 

Consider the following properties.

 

PROPERTY / SUB-PROPERTY

POSSIBLE VALUES

DEFAULT VALUE / SUGGESTED

Data binding

A collection type attribute which holds the multiple records displayed.

Not applicable.

This property is mandatory.

Title (sub-property of data binding)

A general title to be showed as the header for a record.

Not applicable.

This property is mandatory.

Paragraph (sub-property of data binding)

A descriptive information for each specific record.

Not applicable.

This property is mandatory.

Width

The width, set as a percentage of the total forms canvas, that the bars will occupy.

30%

Height

The height in pixels for each of the bars showing titles.

50 px.

Color

The base color which is used for each of the elements seen as titles.

Possibilities are: Black, Brown, Red, Green, Blue, Yellow or Gray.

Green

 

note_pin

Notice all Bizagi controls and Widgets, enable a visible property which allows you to set if that control should be displayed in a given form or not (e.g, by using a business rule).

 

This Widget is designed as read-only.

 

For complete documentation or more information about this Widget's possibilities (e.g, if you wish to customize and extend it), refer to the information about the implemented jQuery Plugin at http://jquery-plugins.net/magic-accordion-simplest-jquery-accordion-plugin.

 

 


Last Updated 10/28/2022 9:44:18 AM