Show:

LayoutBuilder extension, which can be used to add the funcionality of adding columns to the builder's layout.

Constructor

A.LayoutBuilderAddCol

(
  • config
)

Parameters:

  • config Object

    Object literal specifying layout builder configuration properties.

Methods

_afterAddColIsColumnModeChange

() protected

Fired after isColumnMode changes.

_afterAddColLayoutColsChange

(
  • event
)
protected

Fired after the cols attribute changes.

Parameters:

  • event EventFacace

_afterAddColRowsChange

() protected

Fired after the rows attribute changes.

_afterEnableAddColsChange

() protected

Fired after the enableAddCols attribute changes.

_appendAddColButtonToRows

() protected

Appends add col button on each row.

_appendAddColButtonToSingleRow

(
  • row
)
protected

Appends add col button for a single row.

Parameters:

  • row Node

    Row to append the add col buttons.

_bindAddColEvents

() protected

Binds the necessary events for the functionality of adding columns to the layout.

_removeAddColButton

() protected

Removes all add col buttons.

_uiSetEnableAddCols

(
  • enableAddCols
)
protected

Updates the UI according to the value of the enableAddCols attribute.

Parameters:

  • enableAddCols Boolean

_unbindAddColEvents

() protected

Unbinds the events related to the functionality of adding columns to the layout.

destructor

() protected

Destructor implementation for the A.LayoutBuilderAddCol class. Lifecycle.

initializer

() protected

Construction logic executed during A.LayoutBuilderAddCol instantiation. Lifecycle.

Properties

ATTRS

Object static

Static property used to define the default attribute configuration for the A.LayoutBuilderAddCol.

Attributes

enableAddCols

Boolean

Flag indicating if the feature of adding columns to the layout is enabled or not.

Default: true