Function addBulkTables

  • Adds multiple tables to the dataset.

    If changeSel is true, the function will select the last added table and all its rows after the operation is completed.

    Type Parameters

    • T extends object

      The type of the row data.

    Parameters

    • ds: Ds<T> | Dsm<T>

      The dataset or dataset manager.

    • source: T[][]

      The tables to be added.

    • Optionaltarget: {
          changeSel?: boolean;
          place?: "newTableAbove" | "newTableBelow";
          select?: number[] | "tables";
          useClone?: boolean;
          which?: "top" | "all" | "bottom";
      }

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

      • Optionalplace?: "newTableAbove" | "newTableBelow"

        Positioning of new tables.

      • Optionalselect?: number[] | "tables"

        The selection criteria.

      • OptionaluseClone?: boolean

        Whether to use a cloned version.

      • Optionalwhich?: "top" | "all" | "bottom"

        Where to place the tables.

    Returns { success: boolean }

    • The result of the operation.