• Adds multiple new rows to the dataset.

    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 array of rows to be added.

    • Optionaltarget: {
          changeSel?: boolean;
          place?: "above" | "replace" | "below";
          select?: number[] | Loc[] | "tables" | "rows";
          useClone?: boolean;
          which?: "top" | "all" | "bottom";
      }

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

      • Optionalplace?: "above" | "replace" | "below"

        Specifies the placement of the new rows. Defaults to "below".

      • Optionalselect?: number[] | Loc[] | "tables" | "rows"

        Specifies the selection scope. Defaults to "rows".

      • OptionaluseClone?: boolean

        Whether to clone the source rows before adding.

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

        Determines where the new rows are applied. Defaults to "bottom".

    Returns { success: boolean }

    • The result of the operation.