Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGridTxEditor

Interface defining all operations available on a Grid Editor. use a Grid Editor for manipulating the structure and data of the Grid.

Hierarchy

Index

Properties

cells

Cells that belong to the Range.

columns

Columns that belong to the Range.

rows

Rows of the Range.

Methods

createRangeByRC

  • createRangeByRC(filterCols: function, filterRows: function): IRangeEditorSet

deleteColumn

  • Delete given column. If it is an existing column, it is marked as "inactive". If it was an inserted column, it is removed from collection.

    Parameters

    Returns void

deleteRow

deletedCells

deletedColumns

deletedRows

getCellEditorRC

  • getCellEditorRC(rowKey: number, columnKey: number): ICellEditor
  • Get a Cell Editor by Row and Column Key.

    Parameters

    • rowKey: number

      Row Key, that the cell belongs to.

    • columnKey: number

      Column Key, that the cell belongs to.

    Returns ICellEditor

getCells

getColumns

getGrid

getGridId

  • getGridId(): number

getGridInfo

getLastRefreshTxId

  • getLastRefreshTxId(): number
  • Gets the Last Transaction ID, refreshed on the Grid

    Returns number

getRows

getTxIds

  • getTxIds(): number[]
  • Gets the array of Transaction IDs of this Grid.

    Returns number[]

insertColumn

  • Insert a new column after the given Column

    Parameters

    • newColumnName: string

      new Column Name

    • prevColumn: IColumnEditor

      Previous column, after which to insert the new Column

    Returns IColumnEditor

insertColumnAtEnd

insertColumnAtStart

insertRow

insertRowAtEnd

insertRowAtStart

insertedCells

insertedColumns

insertedRows

isDirty

  • isDirty(): boolean
  • Returns whether a Grid Editor has already submitted once successfully.

    Returns boolean

isModified

  • isModified(): boolean
  • Gets if the Range Editor is modified.

    Returns boolean

isNew

  • isNew(): boolean
  • Returns whether a Grid Editor is 'New' (not yet persisted and without a Grid ID).

    Returns boolean

modifiedCells

skuCopy

Generated using TypeDoc