• Replaces tables in the dataset with the provided row data.

    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 row data to replace existing tables.

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

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

      • Optionalselect?: number[] | "tables"

        The tables to be replaced.

      • OptionaluseClone?: boolean

        Whether to clone the rows before replacing.

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

        Specifies which tables to replace.

    Returns { success: boolean }

    • The result of the operation.