Hierarchy

  • TableApi

Constructors

Properties

tableScope: TableScope

Methods

  • Returns whether a column is visible or not.

    Parameters

    • _column: number | ColumnDefIf

      The column index or the column definition.

    Returns boolean

    • True if the column is visible, false otherwise.
  • Determines if the footer is visible.

    Returns boolean

    True if the footer is visible, false otherwise.

  • Checks if the header is visible.

    Returns boolean

    • Returns true if the header is visible, otherwise returns false.
  • Repaints the table.

    This method calls the repaint method of the tableScope object to update and redraw the table based on the latest data.

    Returns void

  • Scrolls to the specified index in both horizontal and vertical directions.

    Parameters

    • _indexX: number = 0

      The index of the column to scroll to in the horizontal direction. Default is 0.

    • _indexY: number = 0

      The index of the row to scroll to in the vertical direction. Default is 0.

    Returns void

    undefined

  • Scrolls the table body to the specified pixel coordinates.

    Parameters

    • _px: number = 0

      The horizontal pixel coordinate to scroll to. Defaults to 0.

    • _py: number = 0

      The vertical pixel coordinate to scroll to. Defaults to 0.

    Returns void

  • Sets the visibility of a column in the table.

    Parameters

    Returns void

    • There is no return value.
  • Sets the visibility of the footer.

    Parameters

    • _visible: boolean = true

      Indicates whether the footer should be visible or not. Default value is true.

    Returns void

    • This method does not return any value.
  • Sets whether the header is visible or not.

    Parameters

    • _visible: boolean = true

      A boolean value indicating whether the header should be visible. Default value is true.

    Returns void

    undefined

  • Updates the cells in the table based on the provided events.

    Parameters

    • events: TableCellUpdateEventIf[]

      The array of events representing the updates to perform on the cells.

    • Optional repaintAll: boolean = false

      Optional parameter indicating whether to repaint all cells or not. Default value is false.

    Returns void

    • This method doesn't return anything.

Generated using TypeDoc