• Replaces a single row with new 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 to replace the existing row.

    • Optionaltarget: { changeSel?: boolean; select?: Loc | "rows" | T; useClone?: boolean }

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

      • Optionalselect?: Loc | "rows" | T

        Specifies the selection scope.

      • OptionaluseClone?: boolean

        Whether to clone the source row before replacing.

    Returns { success: boolean }

    • The result of the operation.