Action
    Preparing search index...

    A DataTable is a collection of columns and metadata.

    No public constructors are defined for a data table, see the Spotfire.Dxp.Data.DataTableCollection class for creation methods.

    2.0

    Hierarchy (View Summary)

    Implements

    Index

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1 | null

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • get AutoCreateFilters(): boolean

      Gets or sets a value indicating whether to automatically create filters for new columns.

      Returns boolean

      2.0

    • set AutoCreateFilters(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get HasValidPrimaryKey(): boolean

      Gets a value indicating whether the table has a valid primary key or not.

      Returns boolean

      2.0

    • get IsAttached(): boolean

      Gets a value indicating whether this node is attached.

      Returns boolean

      2.0

    • get IsExternal(): boolean

      Gets a value indicating whether the data in this table is kept external.

      Returns boolean

      2.0

    • get Name(): string

      Gets or sets the name of this table.

      Returns string

      2.0

    • set Name(value: string): void

      Parameters

      • value: string

      Returns void

    • get NameEscapedForExpression(): string

      Gets the name of the table escaped for usage in an expression. This is a utility method which uses EscapeIdentifier(identifier).

      Returns string

      2.0

    • get Refreshing(): boolean

      Gets a value indicating whether the data table is refreshing.

      Returns boolean

      Only external events are raised when this property is changed. Internal events are not raised.

      2.0

    • get RowCount(): number

      Gets the number of rows in the columns in this table. All columns in a Spotfire.Dxp.Data.DataTable have the same number of rows.

      Returns number

      2.0

    • get ShowColumnMatchPrompt(): boolean

      Gets or sets a value indicating whether to show a prompt for matching columns when data has been replaced.

      Returns boolean

      2.0

    • set ShowColumnMatchPrompt(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • Gets a value indicating whether the data table can be reloaded using the Spotfire.Dxp.Data.DataTable.ReloadAllData method.

      Returns boolean

      True if the data table can be reloaded; false otherwise.

      Reloading data might not be possible if the data table contains parts that cannot be reloaded, such as clipboard data.

      2.0

    • Gets a value indicating whether the data table can be reloaded using the Spotfire.Dxp.Data.DataTable.ReloadLinkedData method.

      Returns boolean

      True if the data table can be reloaded; false otherwise.

      Reloading only linked data is not possible for an embedded data table, and might not be possible if the data table contains parts that cannot be reloaded, such as clipboard data, or data sources that have been set to store their data.

      2.0

    • Refreshes data that depends on other data and is not automatically updated. This includes on-demand data with manual refresh, data functions with update behavior Manual and calculations with update behavior Invalidate.

      Returns void

      This will only refresh the data table if the Spotfire.Dxp.Data.DataTable.NeedsRefresh property is true.

      2.0

    • Reloads all data in this data table including data sources set to store their data.

      Returns void

      Reloading data might not be possible if the data table contains parts that cannot be reloaded, such as clipboard data. For more fine-grained control over data reloading, use the Spotfire.Dxp.Data.DataOperations.DataOperation API on the Spotfire.Dxp.Data.SourceView

      2.0

    • Reloads only linked data in this data table.

      Returns void

      Reloading only linked data is not possible for an embedded data table, and might not be possible if the data table contains parts that cannot be reloaded, such as clipboard data, or data sources that have been set to store their data. For more fine-grained control over data reloading, use the Spotfire.Dxp.Data.DataOperations.DataOperation API on the Spotfire.Dxp.Data.SourceView

      2.0

    Extended capability 'LibraryWrite'