TransactionGridLib

Functions

showColumnTotals(appConfig) ⇒ string

getSchema(appConfig) ⇒ Array.<Type.Field>

getEmptyRowObject(appConfig) ⇒ *

Returns an empty object with all of a widget's fields initialized to. If field.datavaluefield exists it will be returned. Otherwise, the field.id.

getCurrentGrid(appConfig) ⇒ *

refresh(appConfig) ⇒ void

appFilter(appConfig, filter) ⇒ void

getCurrentRow(appConfig) ⇒ *

setRowFocus(appConfig, rowuid) ⇒ void

getRows(appConfig) ⇒ Array.<any>

refreshRow(appConfig, rowuid, [focusedFieldId]) ⇒ void

addAndEditRow(appConfig, [editMode]) ⇒ void

removeRow(appConfig) ⇒ void

getColumn(appConfig, columnid) ⇒ *

hideColumn(AppConfig, columnName) ⇒ void

showColumn(AppConfig, columnName) ⇒ void

getCellText(appConfig, rowuid, columnid) ⇒ string

getCellValue(appConfig, rowuid, columnid) ⇒ *

Get the value of a specific field on a grid row.

getAllCellValues(appConfig, rowuid) ⇒ *

Get all field values for a specific grid row.

getCell(appConfig, rowuid, columnid) ⇒ Type.Column

Returns the column object for the current cell, including the current text and value.

setColumnProperty(appConfig, columnid, propertyName, propertyValue) ⇒ void

setCellText(appConfig, rowuid, columnid, text)

setCellValue(appConfig, rowuid, columnid, value)

setCellProperty(appConfig, rowuid, fieldid, propertyId, [propertyValue]) ⇒ void

Set a property for a cell.

showColumnTotals(appConfig) ⇒ string

Params

  • appConfig Type.AppConfig

getSchema(appConfig) ⇒ Array.<Type.Field>

Params

  • appConfig Type.AppConfig

getEmptyRowObject(appConfig) ⇒ *

Returns an empty object with all of a widget's fields initialized to . If field.datavaluefield exists it will be returned. Otherwise, the field.id.

Params

  • appConfig Type.AppConfig

getCurrentGrid(appConfig) ⇒ *

Params

  • appConfig Type.AppConfig

refresh(appConfig) ⇒ void

Params

  • appConfig Type.AppConfig

appFilter(appConfig, filter) ⇒ void

Params

  • appConfig Type.AppConfig

  • filter Array.<any>

getCurrentRow(appConfig) ⇒ *

Params

  • appConfig Type.AppConfig

setRowFocus(appConfig, rowuid) ⇒ void

Params

  • appConfig Type.AppConfig

  • rowuid string

getRows(appConfig) ⇒ Array.<any>

Params

  • appConfig Type.AppConfig

refreshRow(appConfig, rowuid, [focusedFieldId]) ⇒ void

Params

  • appConfig Type.AppConfig

  • rowuid any

  • [focusedFieldId] any

addAndEditRow(appConfig, [editMode]) ⇒ void

Params

  • appConfig Type.AppConfig

  • [editMode] boolean

removeRow(appConfig) ⇒ void

Params

  • appConfig Type.AppConfig

getColumn(appConfig, columnid) ⇒ *

Params

  • appConfig Type.AppConfig

  • columnid string

hideColumn(AppConfig, columnName) ⇒ void

Params

  • AppConfig Type.AppConfig

  • columnName any

showColumn(AppConfig, columnName) ⇒ void

Params

  • AppConfig Type.AppConfig

  • columnName any

getCellText(appConfig, rowuid, columnid) ⇒ string

Params

  • appConfig Type.AppConfig

  • rowuid any

  • columnid any

getCellValue(appConfig, rowuid, columnid) ⇒ *

Get the value of a specific field on a grid row.

Params

  • appConfig Type.AppConfig

  • rowuid string

  • columnid string

getAllCellValues(appConfig, rowuid) ⇒ *

Get all field values for a specific grid row.

Params

  • appConfig Type.AppConfig

  • rowuid string

getCell(appConfig, rowuid, columnid) ⇒ Type.Column

Returns the column object for the current cell, including the current text and value.

Params

  • appConfig Type.AppConfig

  • rowuid string

  • columnid any

setColumnProperty(appConfig, columnid, propertyName, propertyValue) ⇒ void

Params

  • appConfig Type.AppConfig

  • columnid any

  • propertyName any

  • propertyValue any

setCellText(appConfig, rowuid, columnid, text)

Params

  • appConfig Type.AppConfig

  • rowuid string

  • columnid string

  • text any

setCellValue(appConfig, rowuid, columnid, value)

Params

  • appConfig Type.AppConfig

  • rowuid string

  • columnid string

  • value any

setCellProperty(appConfig, rowuid, fieldid, propertyId, [propertyValue]) ⇒ void

Set a property for a cell.

Params

  • appConfig Type.AppConfig

  • rowuid string

  • fieldid string

  • propertyId *

  • [propertyValue] * = '~##~'

Last updated