Represents a table and provides generic methods for UpTable and UpShapedTable.

Hierarchy

  • ContainerTable
    • UpDatarange

Implements

  • Datarange

Accessors

  • get containertype(): ContainerType
  • The type of the container instance.

    Returns ContainerType

  • set containertype(type): void
  • The type of the container instance.

    Parameters

    • type: ContainerType

    Returns void

  • get element(): undefined | HTMLElement
  • Returns undefined | HTMLElement

  • get isTarget(): boolean
  • Flag indicating whether a container is a valid jump target or not.

    Returns boolean

  • get upType(): string
  • The type of the container instance

    Returns string

  • set upType(type): void
  • The type of the container instance.

    Parameters

    • type: string

    Returns void

Methods

  • Returns the wrapping object representing the table column (respectively control) for an specific table record.

    Parameters

    • element: null | HTMLElement

    Returns null | UpDatarangeControl

  • Returns the current HTML control associated to the container.

    Returns ContainerHtml

  • Get the id of the current container instance.

    Returns string

  • Returns specific record for given record identifier.

    Parameters

    • identifier: string | HTMLElement

    Returns null | UpDatarangeRecord

  • Returns a jQuery list with all records of the current table page.

    Parameters

    • content: string | HTMLElement = ...

    Returns JQuery<UpDatarangeRecord[]>

  • Get a row number by its record ID.

    Parameters

    • recId: string | number

    Returns number | boolean

  • Asynchronous reload of a table.

    Parameters

    • Optional settings: DataRangeReloadSettings

    Returns Promise<any>

    Example

    var table = ix.util.getUp("[TABLE-GUID]");
    table.reload({
    bAsync: true,
    bAddHistory: true,
    bWaitAnimation: false,
    oRequestMap: {
    rq_Test: '1',
    rq_Test: '2'
    }
    });

    Example

    var table = ix.util.getUp("[TABLE-GUID]");
    $.when(table.reload())
    .then(function() {
    alert("done");
    })
    .fail(function() {
    alert("failed");
    });