Action
    Preparing search index...

    Class DataTableCollection

    A collection of Spotfire.Dxp.Data.DataTable objects. The collection of data tables exists in the Spotfire.Dxp.Data.DataManager.

    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 null | T1

    • 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

    Gets the table with the given System.Guidid.

    The id of the table.

    The table with the given id.

    2.0

    • get Context(): INodeContext

      Gets the context of this node.

      Returns INodeContext

      2.0

    • get Count(): number

      Gets the number of tables.

      Returns number

      2.0

    • get IsAttached(): boolean

      Gets a value indicating whether this node is attached.

      Returns boolean

      2.0

    • get Transactions(): ITransactions

      Gets a collection of methods for executing transactions on the document.

      Returns ITransactions

      2.0

    • Gets a value indicating whether any data tables can be reloaded using the Spotfire.Dxp.Data.DataTableCollection.ReloadAllData method.

      Returns boolean

      True if any 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 any of the specified data tables can be reloaded using the ReloadAllData(tables) method.

      Parameters

      Returns boolean

      True if any 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 any data tables can be reloaded using the Spotfire.Dxp.Data.DataTableCollection.ReloadLinkedData method.

      Returns boolean

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

      Reloading only linked data is not possible for embedded data tables, 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

    • Gets a value indicating whether any of the specified data tables can be reloaded using the ReloadLinkedData(tables) method.

      Parameters

      Returns boolean

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

      Reloading only linked data is not possible for embedded data tables, 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

    • Check if the dataTable exists in this collection.

      Parameters

      • dataTable: DataTable

        The data table to search for.

      Returns boolean

      True if the dataTable exists in the collection, false otherwise.

      2.0

    • Check if a table with the given id exists in the collection.

      Parameters

      • id: Guid

        The id to search for.

      Returns boolean

      True if there exists a table with the given id in the collection, false otherwise.

      2.0

    • Check if a table with the given name exists in the collection.

      Parameters

      • name: string | String

        The name of a table to check if it exists in the collection.

      Returns boolean

      True if there exists a table with the given name in the collection, false otherwise.

      2.0

    • Create a new unique table name from a suggestion. The suggested name is used if possible.

      Parameters

      • tableName: string | String

        The suggested table name.

      Returns string

      A table name which is unique in the collection.

      2.0

    • Check if the suggested table name is a valid unique name in the collection.

      Parameters

      • tableName: string | String

        The suggested table name.

      Returns boolean

      True if the suggested name is a valid name for a new table in the collection, false otherwise.

      2.0

    • Reloads only linked data in all data tables. Embedded data tables and data sources set to store their data will be ignored.

      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

    • Reloads only linked data in the specified data tables. Embedded data tables and data sources set to store their data will be ignored.

      Parameters

      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

    • Remove the dataTable from the collection.

      Parameters

      • dataTable: DataTable

        The data table to remove.

      Returns void

      All relations that the table is part of will also be removed.

      2.0

    • Remove the Spotfire.Dxp.Data.DataTable with the given name from the collection.

      Parameters

      • tableName: string | String

        The table name.

      Returns void

      All relations that the table is part of will also be removed.

      2.0