APIs

Show:

Library for the flx-editgrid web component.

Constructor

flexygo.ui.wc.FlxEditGridElement

() FlxEditGridElement

Returns:

FlxEditGridElement:

.

Methods

attributeChangedCallback

()

Fires when the attribute value of the element is changed.

cancelEdit

(
  • elm
)

Cancel edit mode

Parameters:

  • elm Element

clearInsert

(
  • elm
)

Clears insert row

Parameters:

  • elm Element

connectedCallback

()

Fires when element is attached to DOM

delete

(
  • elm
  • confirmed
)

Deletes an element

Parameters:

  • elm Element
  • confirmed Boolean

edit

(
  • elm
)

Edits an element

Parameters:

  • elm Element

edit

(
  • elm
)

Inserts an element

Parameters:

  • elm Element

editAll

()

Put all elements in edit mode

editAll

()

remove all elements from edit mode

getControl

(
  • def
  • val
)

Gets a control definition.

Parameters:

  • def Object
  • val Object

getEditLine

() JQuery

Gets editline content as Jquery.

Returns:

JQuery:

getRow

(
  • dataRow
  • index
  • returnAlways
)

Gets data from a given row.

Parameters:

  • dataRow flexygo.api.mastertables.MasterTablePropertyCollection
  • index Number
  • returnAlways Boolean

getText

(
  • value
  • prop
)

Gets a text control based on value and property.

Parameters:

  • value Object
  • prop Object

load

(
  • tbName
)

loads a table and table schema.

Parameters:

  • tbName String

selectAll

(
  • elm
)

Selects all elements

Parameters:

  • elm Element

selectNone

(
  • elm
)

Selects a node

Parameters:

  • elm Element

sort

(
  • columnItem
  • ascMode
)

Sort based on column in asc or desc mode.

Parameters:

  • columnItem Element
  • ascMode Boolean

update

(
  • elm
)

Updates an element

Parameters:

  • elm Element

Properties

connected

Boolean

Set when component is attached to DOM

observedAttributes

Array

Array of observed attributes.