Options
Menu

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

Hierarchy

  • ContainerTable
    • UpDatarange

Implements

  • Datarange

Index

Accessors

containertype

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

    Returns ContainerType

  • The type of the container instance.

    Parameters

    • type: ContainerType

    Returns void

element

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

isTarget

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

    Returns boolean

upType

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

    Returns string

  • The type of the container instance.

    Parameters

    • type: string

    Returns void

Methods

getCol

getCols

getControl

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

    Parameters

    • element: null | HTMLElement

    Returns null | UpDatarangeControl

getControlGroup

getControlGroups

getHtml

  • getHtml(): ContainerHtml
  • Returns the current HTML control associated to the container.

    Returns ContainerHtml

getId

  • getId(): string
  • Get the id of the current container instance.

    Returns string

getRecord

  • Returns specific record for given record indentifier.

    Parameters

    • identifier: string | HTMLElement

    Returns null | UpDatarangeRecord

getRecords

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

    Parameters

    • content: string | HTMLElement = ...

    Returns JQuery<UpDatarangeRecord[]>

getRowNumberByRecId

  • getRowNumberByRecId(recId: string | number): number | boolean
  • Get a row number by it's record ID.

    Parameters

    • recId: string | number

    Returns number | boolean

reload

  • reload(settings?: DataRangeReloadSettings): Promise<any>
  • Asynchronous reload of a table.

    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");
        });
    

    Parameters

    • Optional settings: DataRangeReloadSettings

    Returns Promise<any>