flexygo.ui.wc.FlxListElement Class
Library for the FlxListElement web component.
Constructor
flexygo.ui.wc.FlxListElement
()
FlxListElement
Returns:
Item Index
Methods
- attributeChangedCallback
- configure
- connectedCallback
- connectedCallback
- firstPage
- getModuleFullId
- getValue
- init
- initGrid
- lastPage
- lastPage!~YUIDOC_LINE~!param newPage
- loadCount
- loadFilters
- loadPager
- loadSearcher
- nextPage
- onPropertyChanged
- paintBody
- paintFooter
- paintHeader
- parseEditString
- previousPage
- processLoadDependencies
- refresh
- refreshPager
- refreshProperty
- render
- savePageValueHistory
- setStartInfoEvents
- sort
- sort
- startLoading
- stopLoading
- translate
Properties
Methods
attributeChangedCallback
()
Fires when the attribute value of the element is changed.
configure
()
Establish webcomponent settings
connectedCallback
()
Fires when element is attached to DOM
connectedCallback
()
Fires when element is dettached to DOM
firstPage
()
Moves to first page.
getModuleFullId
()
String
Gets module full Id using pagename objectname modulename
Returns:
getValue
-
value
Gets value from property
Parameters:
-
value
Any
Returns:
init
()
Init the webcomponent.
initGrid
-
refreshButtons
-
refreshFilters
-
newPage
Init the grid.
Parameters:
-
refreshButtons
Boolean -
refreshFilters
Boolean -
newPage
Number
lastPage
()
Moves to last page.
lastPage!~YUIDOC_LINE~!param newPage
()
Loads page given a page number.
loadCount
()
Loads list count
loadFilters
-
settings
Load filters
Parameters:
-
settings
Object
loadPager
()
loads pager.
loadSearcher
()
Load searcher
nextPage
()
Moves to next page.
paintBody
-
row
Paint Body
Parameters:
-
row
JQuery
Returns:
paintHeader
-
row
Paint header
Parameters:
-
row
JQuery
Returns:
parseEditString
-
str
Parses edit string
Parameters:
-
str
String
Returns:
previousPage
()
Moves to previous page.
processLoadDependencies
()
Processes dependency loading
refresh
()
Refresh the webcomponent
refreshPager
()
Refreshes pager.
refreshProperty
-
itm
-
prop
-
loadDependency
Refreshes a property
Parameters:
-
itm
flexygo.api.edit.DependencyAction -
prop
JQuery -
loadDependency
Boolean
Returns:
render
()
Starts control rendering.
savePageValueHistory
()
Save page into history.
setStartInfoEvents
()
Set main events.
sort
-
orderInfo
Sort based on an object .
Parameters:
-
orderInfo
api.list.PropertyOrder
sort
-
columnItem
-
property
-
ascMode
Sort based on column in asc or desc mode.
Parameters:
-
columnItem
Element -
property
String -
ascMode
Boolean
startLoading
()
Sets the parent module to start loading mode.
stopLoading
()
Sets the parent module to stop loading mode.
translate
-
str
Translates string
Parameters:
-
str
String
Returns:
Properties
connected
Boolean
Set when component is attached to DOM
observedAttributes
Array
Array of observed attributes.
startInfo
String
Start info Template