Class: Panel

Panel

new Panel()

JavaScript class to represent the adaptive forms Panel Component. Instantiation of the class is not permitted and doing so will throw a runtime exception
Since:
  • 6.0

Extends

Members

dorExclusion :boolean

The property specifies the exclusion of the field from document of record. If the value is true, then the field is excluded otherwise included in DoR. If excludeFromDoRIfHidden property is set at guide container, the value of dorExclusion is derived from visibility of field dynamically.

Type:
  • boolean
Since:
  • 6.1-FP1
Inherited From:

enabled :boolean

Specifies whether the component is enabled or read-only. If the value of the property is true, the component is enabled otherwise disabled (read-only).

Type:
  • boolean
Since:
  • 6.0
Inherited From:

(readonly) instanceManager :InstanceManager

returns the InstanceManager object managing this Panel object.

Each Panel object is managed by an InstanceManager which provides API, to retrieve the instances of the Panel, create and remove instances.

Type:
Since:
  • 6.0

(readonly) items :Array

returns a list of children inside the component.

Each item in the array can either be a Field or Panel
Type:
  • Array
Since:
  • 6.0
Inherited From:

(readonly) maxOccur :Number

Specifies the maximum number of times the Panel can be repeated. This can be set through the Panel Dialog. If the value is set greater than 1, the panel can be repeated at most that many times.

Type:
  • Number
Since:
  • 6.0

(readonly) minOccur :Number

Specifies the minimum number of times the Panel will be repeated. This can be set through the Panel Dialog. If the value is set greater than 1, the panel will be repeated at least that many times.

Negative values are ignored

Type:
  • Number
Since:
  • 6.0

(readonly) repeatable :Boolean

Specifies if the panel is repeatable or not. A Panel is considered repeatable if

  • the value of minOccur property is greater than 1, Or
  • the value of maxOccur property is greater than 1

Type:
  • Boolean
Since:
  • 6.0

(readonly) title :string

Gives the title associated with the panel

Type:
  • string
Since:
  • 6.0

visible :boolean

The property specifies the visibility of the component. If the value is true, then the component is visible otherwise hidden.

Type:
  • boolean
Since:
  • 6.0
Inherited From: