• Replaces the content of a selected table in 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 row data to replace the selected table's content.

    • Optionaltarget: { changeSel?: boolean; select?: number | "tables" | T[]; useClone?: boolean }

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

      • Optionalselect?: number | "tables" | T[]

        The table to be replaced.

      • OptionaluseClone?: boolean

        Whether to clone the rows before replacing.

    Returns { success: boolean }

    • The result of the operation.