FormRow

FormRow

Represents a form row

Constructor

new FormRow(columnsopt)

Description:
  • Creates an instance of the FormRow class.
Source:
Parameters:
Name Type Attributes Description
columns Array.<Column> <optional>
The list of columns in the form row

Extends

Methods

addColumn(column) → {FormRow}

Description:
  • Adds a column to the form row.
Source:
Parameters:
Name Type Description
column Column The column to add.
Returns:
The updated instance of the FormRow.
Type
FormRow

deserializeNestedProperties()

Description:
  • Deserialize nested object properties into corresponding class instances
Source:
Overrides:

getChannelExtensionProperty(channelType, propertyName) → {any}

Description:
  • Get the value of a channel extension property
Source:
Overrides:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
Returns:
The property value
Type
any

getChannelExtensions() → {ChannelExtensions}

Description:
  • Gets the channel extensions
Source:
Overrides:
Returns:
The channel extensions
Type
ChannelExtensions

getColumns() → {Array.<Column>}

Description:
  • Gets the list of columns in the form row.
Source:
Returns:
The list of columns in the form row.
Type
Array.<Column>

getId() → {string}

Description:
  • Gets the ID of the form row.
Source:
Returns:
The ID of the form row.
Type
string

getSelectAction()

Description:
  • Gets the select action of the form row.
Source:
Returns:
The select action of the form row.

getSeparator() → {boolean}

Description:
  • Gets the separator of the form row.
Source:
Returns:
The separator
Type
boolean

setChannelExtensionProperty(channelType, propertyName, propertyValue)

Description:
  • Sets a channel-specific extension property
Source:
Overrides:
Parameters:
Name Type Description
channelType ChannelType The channel type.
propertyName string The name of the property.
propertyValue any The value of the property.
Returns:
The current instance of this class.

setColumns(columns) → {FormRow}

Description:
  • Sets the columns of the form row.
Source:
Parameters:
Name Type Description
columns Array.<Column> The columns to set.
Returns:
The updated instance of the FormRow.
Type
FormRow

setId(id) → {FormRow}

Description:
  • Sets the ID of the form row.
Source:
Parameters:
Name Type Description
id string The ID to set.
Returns:
The updated instance of the FormRow.
Type
FormRow

setSelectAction(selectAction)

Description:
  • Sets the select action of the form row.
Source:
Parameters:
Name Type Description
selectAction The select action to set.
Returns:
The updated instance of the FormRow.

setSeparator(flag) → {FormRow}

Description:
  • Sets the separator of the form row.
Source:
Parameters:
Name Type Description
flag boolean to add separator
Returns:
The updated instance of the FormRow.
Type
FormRow