APIs

Show:

Library for the flx-edit web component.

Constructor

flexygo.ui.wc.FlxEditElement

() FlxEditElement

Returns:

FlxEditElement:

.

Methods

appendStack

(
  • prop
)

Appends property from the gridstack control

Parameters:

  • prop JQuery

attributeChangedCallback

()

Fires when the attribute value of the element is changed.

checkDirtyEdit

() Boolean

Checks if form is dirty.

Returns:

Boolean:

configure

()

Establish webcomponent settings

configureObjectProcess

()

Establish webcomponent settings when object process

configureProcess

()

Establish webcomponent settings when in process mode

connectedCallback

()

Fires when element is attached to DOM

connectedCallback

()

Fires when element is dettached to DOM

getMaxTabindex

(
  • props
)
String

Gets maximum tab index.

Returns:

String:

getModuleFullId

() String

Gets module full Id using pagename objectname modulename

Returns:

String:

getValue

(
  • row
  • tag
)
String

Gets value from property

Parameters:

Returns:

String:

initEditMode

()

Init the webcomponent in edit mode.

initProcessMode

()

Init the webcomponent in edit process parameter mode.

initReportMode

()

Init the webcomponent in edit report parameter mode.

initValidate

()

Starts control validation.

onPropertyChanged

(
  • e
)

Captures property change event

openConfig

()

Opens configuration popup

orderStack

()

Order the gridstack control

paintProperties

(
  • data
  • template
)
String

Paints properties with template string

Parameters:

  • data Any
  • template String

Returns:

String:

parseEditString

(
  • str
)
String

Parses edit string

Parameters:

  • str String

Returns:

String:

processLoadDependencies

()

Processes dependency loading

refresh

()

Refresh de webcomponent.

refreshProperty

(
  • itm
  • prop
  • lblprop
  • loadDependency
)
String

Refreshes a property

Parameters:

Returns:

String:

removeStack

(
  • prop
)

Removes property from the gridstack control

Parameters:

  • prop JQuery

render

()

Starts control rendering.

restartPosition

()

Sets layout x and y to starting position

setFormValues

()

Sets Form property values

translate

(
  • str
)
String

Translates string

Parameters:

  • str String

Returns:

String:

validateSQLProperties

()

Validate every property thas has an SQL validation configured

validateSQLProperty

(
  • propertyName
  • flexygo.api.edit.KeyValuePair[]
)

Validate property

Parameters:

  • propertyName String
  • flexygo.api.edit.KeyValuePair[] Properties

Properties

connected

Boolean

Set when component is attached to DOM

observedAttributes

Array

Array of observed attributes.