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:
-
propJQuery
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:
-
rowflexygo.api.BasicPropertyLoweredKey -
tagString
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:
-
dataAny -
templateString
Returns:
parseEditString
-
str
Parses edit string
Parameters:
-
strString
Returns:
processLoadDependencies
()
Processes dependency loading
refresh
()
Refresh de webcomponent.
refreshProperty
-
itm -
prop -
lblprop -
loadDependency
Refreshes a property
Parameters:
-
itmflexygo.api.edit.DependencyAction -
propJQuery -
lblpropJQuery -
loadDependencyBoolean
Returns:
removeStack
-
prop
Removes property from the gridstack control
Parameters:
-
propJQuery
render
()
Starts control rendering.
restartPosition
()
Sets layout x and y to starting position
setFormValues
()
Sets Form property values
translate
-
str
Translates string
Parameters:
-
strString
Returns:
validateSQLProperties
()
Validate every property thas has an SQL validation configured
validateSQLProperty
-
propertyName -
flexygo.api.edit.KeyValuePair[]
Validate property
Parameters:
-
propertyNameString -
flexygo.api.edit.KeyValuePair[]Properties
Properties
connected
Boolean
Set when component is attached to DOM
observedAttributes
Array
Array of observed attributes.