Hierarchy

  • DataTable

Index

Constructors

constructor

  • new DataTable(tableName?: string): DataTable
  • Parameters

    • Default value tableName: string = ""

    Returns DataTable

Properties

columns

dataSet

dataSet: DataSet

defaultView

defaultView: DataView

extendedProperties

extendedProperties: any

rows

tableName

tableName: string = ""

Accessors

childRelations

index

  • get index(): any[]
  • Cache for DataKey.GetRows method

    Returns any[]

parentRelations

Methods

addNewRow

addRow

  • Parameters

    Returns number

clone

copy

loadDataRow

  • loadDataRow(values: any[], acceptChanges?: boolean): DataRow
  • Finds and updates a specific row. If no matching row is found, a new row is created using the given values.

    throws

    The array is larger than the number of columns in the table.

    throws

    A value doesn't match its respective column type.

    Parameters

    • values: any[]

      An array of values used to create the new row.

    • Default value acceptChanges: boolean = true

    Returns DataRow

    The new DataRow.

newRow

removeRow

  • Parameters

    Returns void

setDataSet

  • setDataSet(dataSet: DataSet): void
  • Parameters

    Returns void

toList

Generated using TypeDoc