Options
All
  • Public
  • Public/Protected
  • All
Menu

ModelPeer is the interface that the run-time implements. An instance is set on dynamic Model instances and can be used to notify the run-time of changes in the structure or data of the model.

Hierarchy

  • ModelPeer

Index

Methods

reset

  • reset(): void
  • Call this function from your own model to notify that the model has been changed and everything must be reloaded

    Returns void

rowAdded

  • rowAdded(row: number, count: number): void
  • Call this function from your own model to notify that one or multiple rows were added to the model, starting at the specified row.

    Parameters

    • row: number
    • count: number

    Returns void

rowDataChanged

  • rowDataChanged(row: number): void
  • Call this function from our own model to notify that fields of data in the specified row have changed.

    argument

    row

    Parameters

    • row: number

    Returns void

rowRemoved

  • rowRemoved(row: number, count: number): void
  • Call this function from your own model to notify that one or multiple rows were removed from the model, starting at the specified row.

    Parameters

    • row: number
    • count: number

    Returns void