APIs

Show:

Library for the FlxListElement web component.

Constructor

flexygo.ui.wc.FlxListElement

() FlxListElement

Returns:

FlxListElement:

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

getModuleFullId

() String

Gets module full Id using pagename objectname modulename

Returns:

String:

getValue

(
  • value
)
Any

Gets value from property

Parameters:

  • value Any

Returns:

Any:

initGrid

(
  • refreshButtons
  • refreshFilters
  • newPage
)

Init the grid.

Parameters:

  • refreshButtons Boolean
  • refreshFilters Boolean
  • newPage Number

lastPage!~YUIDOC_LINE~!param newPage

()

Loads page given a page number.

loadFilters

(
  • settings
)

Load filters

Parameters:

  • settings Object

onPropertyChanged

(
  • e
)

Captures property change event

paintBody

(
  • row
)
String

Paint Body

Parameters:

  • row JQuery

Returns:

String:

paintFooter

(
  • row
)
String

Paint footer

Parameters:

  • row JQuery

Returns:

String:

paintHeader

(
  • row
)
String

Paint header

Parameters:

  • row JQuery

Returns:

String:

parseEditString

(
  • str
)
String

Parses edit string

Parameters:

  • str String

Returns:

String:

previousPage

()

Moves to previous page.

processLoadDependencies

()

Processes dependency loading

refresh

()

Refresh the webcomponent

refreshProperty

(
  • itm
  • prop
  • loadDependency
)
String

Refreshes a property

Parameters:

Returns:

String:

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
)
String

Translates string

Parameters:

  • str String

Returns:

String:

Properties

connected

Boolean

Set when component is attached to DOM

observedAttributes

Array

Array of observed attributes.

startInfo

String

Start info Template