NotesFieldWidget

parasql.widget. NotesFieldWidget

The NotesFieldWidget class renders as a multi-line plain text editor.

Extends

Methods

focus()

Give focus to the input element of this field.

Description:
  • Give focus to the input element of this field.

Inherited From:

getDataValue() → (nullable) {parasql.schema.DataValue}

Inherited From:
Returns:

The current DataValue for this field, or null if there is no current DataValue.

Type
parasql.schema.DataValue

getIsRequired() → {boolean}

Inherited From:
Returns:
Type
boolean

getIsVirtual() → {boolean}

Inherited From:
Returns:
Type
boolean

getReadOnly() → {boolean}

Inherited From:
Returns:

Returns true if this field will render as a read-only field.

Type
boolean

getTextAreaElement() → {HTMLTextAreaElement}

Returns:

The text area element currently in use by this NotesFieldWidget.

Type
HTMLTextAreaElement

getWidgetId() → (non-null) {string}

Inherited From:
Returns:

Returns an immutable string that uniquely identifies this widget.

Type
string

isDisabled() → {boolean}

Inherited From:
Returns:
Type
boolean

printWidget()

Causes this widget to print itself.

Description:
  • Causes this widget to print itself.

Inherited From:

redisplay()

Redisplays this widget.

Description:
  • Redisplays this widget.

Inherited From:

setDataValue(newValue)

Setting a field's value with this method makes it behave as if it were set by the user (with the exception of validation).

Description:
  • Setting a field's value with this method makes it behave as if it were set by the user (with the exception of validation). The value is copied from the specified newValue, the value is rendered in the UI including any formatting, any dependent fields are recalculated, any Data Links are performed, and finally a "change" event is fired to all listeners.

Inherited From:
Parameters:
Name Type Description
newValue parasql.schema.DataValue

This field's data value is taken from the specified newValue

Fires:
  • parasql.Event#event:change When a field's value is changed by the user.

setIsRequired(flag)

Sets whether or not this field will be rendered as a required field.

Description:
  • Sets whether or not this field will be rendered as a required field.

Inherited From:
Parameters:
Name Type Description
flag boolean

setReadOnly(flag)

Sets whether or not this field will be rendered as a read-only field.

Description:
  • Sets whether or not this field will be rendered as a read-only field.

Inherited From:
Parameters:
Name Type Description
flag boolean