Show:

A base class for Layout Remove Row.

Constructor

A.LayoutBuilderRemoveRow

(
  • config
)

Parameters:

  • config Object

    Object literal specifying layout configuration properties.

Methods

_afterEnableRemoveRowsChange

() protected

Fired after the enableRemoveRows attribute changes.

_afterRemoveRowIsColumnModeChange

() protected

Fired after isColumnMode changes.

_afterRemoveRowLayoutChange

() protected

Fired after layout attribute changes.

_afterRemoveRowRemovableChange

(
  • event
)
protected

Fired after the removable attribute changes.

Parameters:

_afterRemoveRowRowsChange

() protected

Fired after rows attribute changes.

_appendButtonToRows

() protected

Appends one remove row button before each row.

_bindRemoveRowEvents

() protected

Binds the necessary events for the functionality of removing rows from layout.

_insertRemoveButtonBeforeRow

(
  • layoutRow
  • row
)
protected

Inserts remove button before a specified row.

Parameters:

_onMouseClickEvent

(
  • event
)
protected

Fires after click on remove row button.

Parameters:

_removeRemoveButtonFromRows

() protected

Removes all remove row buttons.

_uiSetEnableRemoveRows

(
  • enableRemoveRows
)
protected

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

Parameters:

  • enableRemoveRows Boolean

_unbindRemoveRowEvents

() protected

Unbinds the events related to the functionality of removing rows from layout.

destructor

() protected

Destructor implementation for the A.LayoutBuilderRemoveRow class. Lifecycle.

initializer

() protected

Construction logic executed during instantiation. Lifecycle.

Properties

ATTRS

Object static

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

Attributes

clickRemoveRow

Function

Check if the row can be remove when remove button is clicked.

enableRemoveRows

Boolean

Flag indicating if the feature of removing rows from layout is enabled or not.

Default: true