Function addTableAbove

  • Adds a new table above the specified table.

    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 populate the new table.

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

      Optional target configuration.

      • OptionalchangeSel?: boolean

        Whether to update the selection.

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

        Specifies the target table.

      • OptionaluseClone?: boolean

        Whether to clone the rows before inserting.

    Returns { success: boolean }

    • The result of the operation.