flexygo.ui.wc.FlxEditElement Class
Library for the flx-edit web component.
Constructor
flexygo.ui.wc.FlxEditElement
()
FlxEditElement
Returns:
.
Item Index
Methods
- appendStack
- attributeChangedCallback
- checkDirtyEdit
- configure
- configureObjectProcess
- configureProcess
- connectedCallback
- connectedCallback
- getMaxTabindex
- getModuleFullId
- getValue
- init
- initEditMode
- initProcessMode
- initReportMode
- initValidate
- onPropertyChanged
- openConfig
- orderStack
- paintProperties
- parseEditString
- processLoadDependencies
- refresh
- refreshProperty
- removeStack
- render
- restartPosition
- setFormValues
- translate
- validateSQLProperties
- validateSQLProperty
Properties
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:
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
Gets maximum tab index.
Parameters:
Returns:
getModuleFullId
()
String
Gets module full Id using pagename objectname modulename
Returns:
getValue
-
row
-
tag
Gets value from property
Parameters:
-
row
flexygo.api.BasicPropertyLoweredKey -
tag
String
Returns:
init
()
Refresh de webcomponent.
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.
openConfig
()
Opens configuration popup
orderStack
()
Order the gridstack control
paintProperties
-
data
-
template
Paints properties with template string
Parameters:
-
data
Any -
template
String
Returns:
parseEditString
-
str
Parses edit string
Parameters:
-
str
String
Returns:
processLoadDependencies
()
Processes dependency loading
refresh
()
Refresh de webcomponent.
refreshProperty
-
itm
-
prop
-
lblprop
-
loadDependency
Refreshes a property
Parameters:
-
itm
flexygo.api.edit.DependencyAction -
prop
JQuery -
lblprop
JQuery -
loadDependency
Boolean
Returns:
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
Translates string
Parameters:
-
str
String
Returns:
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.